Rev 6391: Remove the now useless hack in file:///home/vila/src/bzr/bugs/906897-quoting-stores/

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed Dec 21 20:43:30 UTC 2011


At file:///home/vila/src/bzr/bugs/906897-quoting-stores/

------------------------------------------------------------
revno: 6391
revision-id: v.ladeuil+lp at free.fr-20111221204329-utns2sdef9hvvxs5
parent: v.ladeuil+lp at free.fr-20111221203250-2jw5a6hk9f7x7crt
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 906897-quoting-stores
timestamp: Wed 2011-12-21 21:43:29 +0100
message:
  Remove the now useless hack
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2011-12-21 17:53:20 +0000
+++ b/bzrlib/branch.py	2011-12-21 20:43:29 +0000
@@ -1180,9 +1180,7 @@
         if config is None:
             config = self.get_config_stack()
         location = config.get(name)
-        # FIXME: There is a glitch around quoting/unquoting in config stores:
-        # an empty string can be seen as '""' instead of '' -- vila 2011-12-20
-        if location in ('', '""') :
+        if location == '':
             location = None
         return location
 



More information about the bazaar-commits mailing list