/breezy-svn/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-svn/trunk

« back to all changes in this revision

Viewing changes to remote.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-11 11:01:34 UTC
  • Revision ID: jelmer@jelmer.uk-20180611110134-ihfyd8l3poobimys
Check for lossy push to same VCS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
537
537
 
538
538
    def push_branch(self, source, revision_id=None, overwrite=False,
539
539
        remember=False, create_prefix=False, name=None, lossy=False):
 
540
        from .branch import SvnBranch
 
541
        if lossy and isinstance(source, SvnBranch):
 
542
            raise errors.LossyPushToSameVCS(source, self)
540
543
        ret = SubversionPushResult()
541
544
        ret.source_branch = source
542
545
        ret.workingtree_updated = None