~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Robert Collins
  • Date: 2005-10-02 22:55:44 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20051002225544-52c4e9912f41ec84
update to weave api

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
    return ancestors
215
215
 
216
216
def get_last_revision(branch):
217
 
    last_patch = branch.last_patch()
 
217
    last_patch = branch.last_revision()
218
218
    try:
219
219
        return arch_revision(last_patch)
220
220
    except NotArchRevision: