~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-05-17 12:44:55 UTC
  • mfrom: (5853.2.8 lossy-argument)
  • Revision ID: pqm@pqm.ubuntu.com-20110517124455-8mzoceddh4wjmtgp
(jelmer) Make lossy an argument to Branch.pull. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2995
2995
            _override_hook_target=self, **kwargs)
2996
2996
 
2997
2997
    @needs_read_lock
2998
 
    def push(self, target, overwrite=False, stop_revision=None):
 
2998
    def push(self, target, overwrite=False, stop_revision=None, lossy=False):
2999
2999
        self._ensure_real()
3000
3000
        return self._real_branch.push(
3001
 
            target, overwrite=overwrite, stop_revision=stop_revision,
 
3001
            target, overwrite=overwrite, stop_revision=stop_revision, lossy=lossy,
3002
3002
            _override_hook_source_branch=self)
3003
3003
 
3004
3004
    def is_locked(self):