~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Martin Pool
  • Date: 2006-05-17 07:09:13 UTC
  • mfrom: (1668.1.15 bzr-0.8.mbp)
  • mto: This revision was merged to the branch mainline in revision 1710.
  • Revision ID: mbp@sourcefrog.net-20060517070913-723e387ac91d55c0
merge 0.8 fix branch, including register-branch plugin

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