~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

merge olaf - InvalidRevisionId fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
class InvalidRevisionId(BzrNewError):
135
135
    """Invalid revision-id {%(revision_id)s} in %(branch)s"""
136
136
    def __init__(self, revision_id, branch):
 
137
        # branch can be any string or object with __str__ defined
137
138
        BzrNewError.__init__(self)
138
139
        self.revision_id = revision_id
139
140
        self.branch = branch