~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Patch Queue Manager
  • Date: 2011-12-21 21:27:34 UTC
  • mfrom: (6385.1.7 906897-quoting-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20111221212734-aea6s92gkpux3fky
(vila) Stores allow Stacks to control when values are quoted/unquoted
 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1180
1180
        if config is None:
1181
1181
            config = self.get_config_stack()
1182
1182
        location = config.get(name)
1183
 
        # FIXME: There is a glitch around quoting/unquoting in config stores:
1184
 
        # an empty string can be seen as '""' instead of '' -- vila 2011-12-20
1185
 
        if location in ('', '""') :
 
1183
        if location == '':
1186
1184
            location = None
1187
1185
        return location
1188
1186