~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Martin Pool
  • Date: 2005-09-13 23:18:12 UTC
  • Revision ID: mbp@sourcefrog.net-20050913231812-dc1df8fb11f78a31
- rename last_patch to last_revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
489
489
    hidden = True
490
490
    def run(self):
491
491
        b = find_branch('.')
492
 
        for revision_id in b.get_ancestry(b.last_patch()):
 
492
        for revision_id in b.get_ancestry(b.last_revision()):
493
493
            print revision_id
494
494
 
495
495
 
891
891
        import os.path
892
892
        b = find_branch('.')
893
893
        if revision is None:
894
 
            rev_id = b.last_patch()
 
894
            rev_id = b.last_revision()
895
895
        else:
896
896
            if len(revision) != 1:
897
897
                raise BzrError('bzr export --revision takes exactly 1 argument')
1131
1131
        history_1 = branch1.revision_history()
1132
1132
        history_2 = branch2.revision_history()
1133
1133
 
1134
 
        last1 = branch1.last_patch()
1135
 
        last2 = branch2.last_patch()
 
1134
        last1 = branch1.last_revision()
 
1135
        last2 = branch2.last_revision()
1136
1136
 
1137
1137
        source = MultipleRevisionSources(branch1, branch2)
1138
1138