~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: John Arbash Meinel
  • Date: 2006-02-16 06:41:26 UTC
  • mto: (1608.2.1 bzr.mbp.escape-stores)
  • mto: This revision was merged to the branch mainline in revision 1657.
  • Revision ID: john@arbash-meinel.com-20060216064126-bc29375f7e01c08d
Adding progress indicators and improved get order for 'bzr branch'

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib.store import copy_all
25
25
from bzrlib.store.weave import WeaveStore
26
26
from bzrlib.store.text import TextStore
 
27
from bzrlib.trace import note
27
28
from bzrlib.tree import RevisionTree
28
29
from bzrlib.testament import Testament
29
30
from bzrlib.tree import EmptyTree
125
126
    def copy(self, destination):
126
127
        destination.lock_write()
127
128
        try:
 
129
            copy_all(self.weave_store, destination.weave_store)
 
130
            note('copying inventories')
128
131
            destination.control_weaves.copy_multi(self.control_weaves, 
129
132
                ['inventory'])
130
 
            copy_all(self.weave_store, destination.weave_store)
131
133
            copy_all(self.revision_store, destination.revision_store)
132
134
        finally:
133
135
            destination.unlock()