~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2006-12-11 03:11:05 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20061211031105-xne52056x5ozz8yc
Add add_reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1611
1611
 
1612
1612
    def __init__(self, other_tree):
1613
1613
        self.other_tree = other_tree
 
1614
 
 
1615
 
 
1616
class BadReferenceTarget(BzrError):
 
1617
 
 
1618
    _fmt = "Can't add reference to %(other_tree)s into %(tree)s.  %(reason)s"
 
1619
 
 
1620
    internal_error = True
 
1621
 
 
1622
    def __init__(self, tree, other_tree, reason):
 
1623
        self.tree = tree
 
1624
        self.other_tree = other_tree
 
1625
        self.reason = reason