~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-01 19:41:16 UTC
  • mfrom: (2158 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2159.
  • Revision ID: john@arbash-meinel.com-20061201194116-nvn5qhfxux5284jc
[merge] bzr.dev 2158

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
        value = self._get_explicit_nickname()
577
577
        if value is not None:
578
578
            return value
579
 
        return self.branch.base.split('/')[-2]
 
579
        return urlutils.unescape(self.branch.base.split('/')[-2])
580
580
 
581
581
    def has_explicit_nickname(self):
582
582
        """Return true if a nickname has been explicitly assigned."""