~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2006-09-27 05:22:01 UTC
  • mto: (2100.3.5 by-reference-trees)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20060927052201-2256fa7dc07a50ac
Test subsume failure modes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1270
1270
    def __init__(self, name):
1271
1271
        BzrNewError.__init__(self)
1272
1272
        self.name = name
 
1273
 
 
1274
class BadSubsumeTarget(BzrNewError):
 
1275
    """Can't subsume %(other_tree)s into %(tree).  %(reason)s"""
 
1276
    def __init__(self, tree, other_tree, reason):
 
1277
        self.tree = tree
 
1278
        self.other_tree = other_tree
 
1279
        self.reason = reason