~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

merge olaf - InvalidRevisionId fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
883
883
        tree = WorkingTree.open_containing(u'.')[0]
884
884
        b = tree.branch
885
885
        # FIXME. should be tree.last_revision
886
 
        for revision_id in b.repository.get_ancestry(b.last_revision()):
 
886
        revision_ids = b.repository.get_ancestry(b.last_revision())
 
887
        assert revision_ids[0] == None
 
888
        revision_ids.pop(0)
 
889
        for revision_id in revision_ids:
887
890
            print revision_id
888
891
 
889
892