mercurial/commands.py
changeset 20791 8dd867bd67e1
parent 20790 49f2d5644f04
child 20834 8c210b169c69
--- a/mercurial/commands.py	Wed Mar 19 02:45:14 2014 +0100
+++ b/mercurial/commands.py	Mon Feb 24 22:42:14 2014 +0100
@@ -439,7 +439,7 @@
     op1, op2 = repo.dirstate.parents()
     a = repo.changelog.ancestor(op1, node)
     if a != node:
-        raise util.Abort(_('cannot backout change on a different branch'))
+        raise util.Abort(_('cannot backout change that is not an ancestor'))
 
     p1, p2 = repo.changelog.parents(node)
     if p1 == nullid: