~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert J. Tanner
  • Date: 2009-06-10 03:56:49 UTC
  • mfrom: (4423 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4425.
  • Revision ID: tanner@real-time.com-20090610035649-7rfx4cls4550zc3c
Merge 1.15.1 back to trunk

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