Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4726:f6e961c0155b
Fix and test 'hg backout' without or with too many revisions.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 26 Jun 2007 15:28:17 +0200 |
parents | 934275cd4526 |
children | eadfaa9ec487 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jun 25 21:23:24 2007 -0500 +++ b/mercurial/commands.py Tue Jun 26 15:28:17 2007 +0200 @@ -169,6 +169,9 @@ if not rev: rev = node + if not rev: + raise util.Abort(_("please specify a revision to backout")) + cmdutil.bail_if_changed(repo) op1, op2 = repo.dirstate.parents() if op2 != nullid: