~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

add signatures feature to bzr log

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import re
20
20
 
21
21
from bzrlib import (
 
22
    diff,
22
23
    errors,
23
24
    iterablefile,
24
25
    lru_cache,
32
33
    versionedfile as _mod_versionedfile,
33
34
    )
34
35
from bzrlib.bundle import bundle_data, serializer as bundle_serializer
35
 
from bzrlib.i18n import ngettext
36
36
from bzrlib import bencode
37
37
 
38
38
 
322
322
 
323
323
    def do_write(self):
324
324
        """Write all data to the bundle"""
325
 
        trace.note(ngettext('Bundling %d revision.', 'Bundling %d revisions.',
326
 
                            len(self.revision_ids)), len(self.revision_ids))
 
325
        trace.note('Bundling %d revision(s).', len(self.revision_ids))
327
326
        self.repository.lock_read()
328
327
        try:
329
328
            self.bundle.begin()