~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-14 11:32:50 UTC
  • mfrom: (4347.2.3 interbranch-dpull)
  • Revision ID: pqm@pqm.ubuntu.com-20090514113250-jntkkpminfn3e0tz
(Jelmer) Move dpush to InterBranch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3025
3025
 
3026
3026
    def __init__(self, repository):
3027
3027
        self.repository = repository
 
3028
 
 
3029
 
 
3030
class LossyPushToSameVCS(BzrError):
 
3031
 
 
3032
    _fmt = ("Lossy push not possible between %(source_branch)r and "
 
3033
            "%(target_branch)r that are in the same VCS.")
 
3034
 
 
3035
    internal_error = True
 
3036
 
 
3037
    def __init__(self, source_branch, target_branch):
 
3038
        self.source_branch = source_branch
 
3039
        self.target_branch = target_branch