Rev 6289: Attempt to get rid of useless code in file:///home/vila/src/bzr/bugs/892992-locations-on-windows/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Thu Nov 24 14:18:41 UTC 2011
At file:///home/vila/src/bzr/bugs/892992-locations-on-windows/
------------------------------------------------------------
revno: 6289
revision-id: v.ladeuil+lp at free.fr-20111124141841-1fsogpdk26jmnxhj
parent: pqm at pqm.ubuntu.com-20111124134044-fxzjs2iro5obaax9
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 892992-locations-on-windows
timestamp: Thu 2011-11-24 15:18:41 +0100
message:
Attempt to get rid of useless code
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py 2011-11-22 13:27:04 +0000
+++ b/bzrlib/config.py 2011-11-24 14:18:41 +0000
@@ -3397,10 +3397,10 @@
:param location: A URL prefix to """
lstore = LocationStore()
- if location is not None:
- location = urlutils.normalize_url(location)
- if location.startswith('file://'):
- location = urlutils.local_path_from_url(location)
+# if location is not None:
+# location = urlutils.normalize_url(location)
+ if location.startswith('file://'):
+ location = urlutils.local_path_from_url(location)
matcher = LocationMatcher(lstore, location)
gstore = GlobalStore()
super(LocationStack, self).__init__(
More information about the bazaar-commits
mailing list