~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

MergeĀ fromĀ test-providers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
 
156
156
    def _get_nick(self):
157
157
        cfg = self.tree_config()
158
 
        return cfg.get_option(u"nickname", default=self.base.split('/')[-1])
 
158
        return cfg.get_option(u"nickname", default=self.base.split('/')[-2])
159
159
 
160
160
    def _set_nick(self, nick):
161
161
        cfg = self.tree_config()