~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-16 14:16:50 UTC
  • mfrom: (5777.6.13 commit-lossy)
  • Revision ID: pqm@pqm.ubuntu.com-20110416141650-nyf3g3jmhw9cjoff
(jelmer) Add --lossy option to 'bzr commit'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1481
1481
 
1482
1482
    def get_commit_builder(self, branch, parents, config, timestamp=None,
1483
1483
                           timezone=None, committer=None, revprops=None,
1484
 
                           revision_id=None):
 
1484
                           revision_id=None, lossy=False):
1485
1485
        # FIXME: It ought to be possible to call this without immediately
1486
1486
        # triggering _ensure_real.  For now it's the easiest thing to do.
1487
1487
        self._ensure_real()
1488
1488
        real_repo = self._real_repository
1489
1489
        builder = real_repo.get_commit_builder(branch, parents,
1490
1490
                config, timestamp=timestamp, timezone=timezone,
1491
 
                committer=committer, revprops=revprops, revision_id=revision_id)
 
1491
                committer=committer, revprops=revprops,
 
1492
                revision_id=revision_id, lossy=lossy)
1492
1493
        return builder
1493
1494
 
1494
1495
    def add_fallback_repository(self, repository):