/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bundle/apply_bundle.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-20 10:43:32 UTC
  • mto: This revision was merged to the branch mainline in revision 6153.
  • Revision ID: jriddell@canonical.com-20110920104332-dwqti256hllqn0bi
gettext() bzrlib/bundle

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib.merge import Merger
23
23
from bzrlib.vf_repository import install_revision
24
24
from bzrlib.trace import note
 
25
from bzrlib.i18n import gettext
25
26
 
26
27
 
27
28
def install_bundle(repository, bundle_reader):
33
34
    try:
34
35
        real_revisions = bundle_reader.real_revisions
35
36
        for i, revision in enumerate(reversed(real_revisions)):
36
 
            pb.update("Install revisions",i, len(real_revisions))
 
37
            pb.update(gettext("Install revisions"),i, len(real_revisions))
37
38
            if repository.has_revision(revision.revision_id):
38
39
                continue
39
40
            cset_tree = bundle_reader.revision_tree(repository,