~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-18 16:55:04 UTC
  • mfrom: (6437.23.10 2.5)
  • mto: This revision was merged to the branch mainline in revision 6469.
  • Revision ID: jelmer@samba.org-20120218165504-c9oe5c5ue805y8wp
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1471
1471
        value = self._get_explicit_nickname()
1472
1472
        if value is not None:
1473
1473
            return value
 
1474
        if self.branch.name:
 
1475
            return self.branch.name
1474
1476
        return urlutils.unescape(self.branch.base.split('/')[-2])
1475
1477
 
1476
1478
    def has_explicit_nickname(self):