~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: Robert Collins
  • Date: 2005-08-24 12:13:13 UTC
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050824121313-f604a90d56310911
merge up with mpool

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import os, tempfile, types, osutils, gzip, errno
25
25
from stat import ST_SIZE
26
26
from StringIO import StringIO
27
 
from trace import mutter
 
27
from bzrlib.trace import mutter
 
28
import bzrlib.ui
28
29
 
29
30
######################################################################
30
31
# stores
116
117
        If an id is present in self, it is skipped.  A count of copied
117
118
        ids is returned, which may be less than len(ids).
118
119
        """
119
 
        from bzrlib.progress import ProgressBar
120
 
        pb = ProgressBar()
 
120
        pb = bzrlib.ui.ui_factory.progress_bar()
 
121
        
121
122
        pb.update('preparing to copy')
122
123
        to_copy = [id for id in ids if id not in self]
123
124
        if isinstance(other, ImmutableStore):