~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

(abentley) Use colocated branch names as nicknames. (Aaron Bentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3872
3872
class cmd_nick(Command):
3873
3873
    __doc__ = """Print or set the branch nickname.
3874
3874
 
3875
 
    If unset, the tree root directory name is used as the nickname.
3876
 
    To print the current nickname, execute with no argument.
 
3875
    If unset, the colocated branch name is used for colocated branches, and
 
3876
    the branch directory name is used for other branches.  To print the
 
3877
    current nickname, execute with no argument.
3877
3878
 
3878
3879
    Bound branches use the nickname of its master branch unless it is set
3879
3880
    locally.