Rev 6550: (vila) Remove dead code bzrlib.filters.ContentFilterContext.config(): wasn't in file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/%2Btrunk/
Patch Queue Manager
pqm at pqm.ubuntu.com
Thu Aug 2 14:22:38 UTC 2012
At file:///srv/pqm.bazaar-vcs.org/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 6550 [merge]
revision-id: pqm at pqm.ubuntu.com-20120802142237-yjnpeqh1d55kb2sw
parent: pqm at pqm.ubuntu.com-20120801095449-yzevoszth5odzgjk
parent: v.ladeuil+lp at free.fr-20120802112825-31oczwqbc2stugqy
committer: Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2012-08-02 14:22:37 +0000
message:
(vila) Remove dead code bzrlib.filters.ContentFilterContext.config(): wasn't
tested nor used. (Vincent Ladeuil)
modified:
bzrlib/filters/__init__.py __init__.py-20080416080515-mkxl29amuwrf6uir-2
=== modified file 'bzrlib/filters/__init__.py'
--- a/bzrlib/filters/__init__.py 2012-03-29 14:54:16 +0000
+++ b/bzrlib/filters/__init__.py 2012-08-02 11:28:25 +0000
@@ -90,7 +90,6 @@
# Cached values
self._revision_id = None
self._revision = None
- self._config = None
def relpath(self):
"""Relative path of file to tree-root."""
@@ -131,16 +130,6 @@
self._revision = repo.get_revision(rev_id)
return self._revision
- def config(self):
- """The Config object to search for configuration settings."""
- if self._config is None:
- branch = getattr(self._tree, 'branch', None)
- if branch is not None:
- self._config = branch.get_config()
- else:
- self._config = config.GlobalConfig()
- return self._config
-
def filtered_input_file(f, filters):
"""Get an input file that converts external to internal content.
More information about the bazaar-commits
mailing list