~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to reweave_inventory.py

  • Committer: Daniel Silverstone
  • Date: 2005-11-10 20:06:23 UTC
  • mto: This revision was merged to the branch mainline in revision 279.
  • Revision ID: daniel.silverstone@canonical.com-20051110200623-77479964cab3c166
Fix up fetch_ghosts to lock the branches, and to invoke bzr fix if it fetches any ghosts into the tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        finally:
48
48
            branch.unlock()
49
49
 
50
 
    def _do_reweave(self, branch, branch_dir):
 
50
    @staticmethod
 
51
    def _do_reweave(branch, branch_dir):
51
52
        inventory_weave = branch.get_inventory_weave()
52
53
 
53
54
        new_weave = bzrlib.weave.Weave()