~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/v4.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 14:13:48 UTC
  • mto: This revision was merged to the branch mainline in revision 6146.
  • Revision ID: jriddell@canonical.com-20110916141348-ymlt715bu8l2a4tu
more plurals

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    versionedfile as _mod_versionedfile,
34
34
    )
35
35
from bzrlib.bundle import bundle_data, serializer as bundle_serializer
36
 
from bzrlib.i18n import gettext
 
36
from bzrlib.i18n import gettext, ngettext
37
37
from bzrlib import bencode
38
38
 
39
39
 
323
323
 
324
324
    def do_write(self):
325
325
        """Write all data to the bundle"""
326
 
        trace.note(gettext('Bundling %d revision(s).'), len(self.revision_ids))
 
326
        trace.note(ngettext('Bundling %d revision.', 'Bundling %d revisions.',
 
327
                            len(self.revision_ids)), len(self.revision_ids))
327
328
        self.repository.lock_read()
328
329
        try:
329
330
            self.bundle.begin()