~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to mpknit

  • Committer: Aaron Bentley
  • Date: 2007-04-10 23:45:15 UTC
  • mto: (2520.4.1 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: aaron.bentley@utoronto.ca-20070410234515-reyhqm22o5lcj2i0
Support dirstate in mpknit

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    print >> sys.stderr, 'Usage: mpknit [--single] FILENAME'
15
15
    sys.exit(3)
16
16
    
17
 
bt = wt.basis_tree()
 
17
bt = wt.branch.repository.revision_tree(wt.last_revision())
18
18
file_id = wt.path2id(path)
19
19
file_weave = bt.get_weave(file_id)
20
20
for revision in file_weave.get_ancestry([bt.inventory[file_id].revision]):