~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

MergeĀ fromĀ Robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
        tree = WorkingTree.open_containing(u'.')[0]
709
709
        b = tree.branch
710
710
        # FIXME. should be tree.last_revision
711
 
        for revision_id in b.get_ancestry(b.last_revision()):
 
711
        for revision_id in b.repository.get_ancestry(b.last_revision()):
712
712
            print revision_id
713
713
 
714
714
 
1170
1170
 
1171
1171
    Note: export of tree with non-ascii filenames to zip is not supported.
1172
1172
 
1173
 
    Supported formats       Autodetected by extension
1174
 
    -----------------       -------------------------
 
1173
     Supported formats       Autodetected by extension
 
1174
     -----------------       -------------------------
1175
1175
         dir                            -
1176
1176
         tar                          .tar
1177
1177
         tbz2                    .tar.bz2, .tbz2
1393
1393
 
1394
1394
 
1395
1395
class cmd_nick(Command):
1396
 
    """\
1397
 
    Print or set the branch nickname.  
 
1396
    """Print or set the branch nickname.  
 
1397
 
1398
1398
    If unset, the tree root directory name is used as the nickname
1399
1399
    To print the current nickname, execute with no argument.  
1400
1400
    """