300
326
BzrCommandError.__init__(self, msg)
302
329
class NoCommonAncestor(BzrError):
303
330
def __init__(self, revision_a, revision_b):
304
331
msg = "Revisions have no common ancestor: %s %s." \
305
332
% (revision_a, revision_b)
306
333
BzrError.__init__(self, msg)
308
336
class NoCommonRoot(BzrError):
309
337
def __init__(self, revision_a, revision_b):
310
338
msg = "Revisions are not derived from the same root: %s %s." \
311
339
% (revision_a, revision_b)
312
340
BzrError.__init__(self, msg)
314
343
class NotAncestor(BzrError):
315
344
def __init__(self, rev_id, not_ancestor_id):
316
345
msg = "Revision %s is not an ancestor of %s" % (not_ancestor_id,