~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin von Gagern
  • Date: 2011-06-01 12:53:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6009.
  • Revision ID: martin.vgagern@gmx.net-20110601125356-lwozv2vecea6hxfz
Change from no_decorate to classify as name for the argument.

The command line switch remains as --no-classify, to keep backwards
compatibility.  Users are free to include --no-classify in an alias, and
still use --classify to change back.

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, ngettext
37
36
from bzrlib import bencode
38
37
 
39
38
 
323
322
 
324
323
    def do_write(self):
325
324
        """Write all data to the bundle"""
326
 
        trace.note(ngettext('Bundling %d revision.', 'Bundling %d revisions.',
327
 
                            len(self.revision_ids)), len(self.revision_ids))
 
325
        trace.note('Bundling %d revision(s).', len(self.revision_ids))
328
326
        self.repository.lock_read()
329
327
        try:
330
328
            self.bundle.begin()