~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Aaron Bentley
  • Date: 2005-11-19 20:23:18 UTC
  • mto: This revision was merged to the branch mainline in revision 288.
  • Revision ID: aaron.bentley@utoronto.ca-20051119202318-949ba01504dc8b52
Updates to match API changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
462
462
        try:
463
463
            branch.working_tree().set_inventory(baz_inv)
464
464
            bzrlib.trace.silent = True
465
 
            branch.commit(log.summary, verbose=False, committer=log.creator,
466
 
                          timestamp=timestamp, timezone=0, rev_id=rev_id)
 
465
            wt = branch.working_tree()
 
466
            wt.commit(log.summary, verbose=False, committer=log.creator,
 
467
                      timestamp=timestamp, timezone=0, rev_id=rev_id)
467
468
        finally:
468
469
            bzrlib.trace.silent = False   
469
470
            branch.unlock()