# HG changeset patch # User Martin Geisler # Date 1374050974 -7200 # Node ID b2b08be5f5569e3b0879d30e6ccd5cc3b58d38aa # Parent 4f32747879d1d66bae623da6a80ec6a6a85299f4 rollback: add reference to "hg commit --amend" Now that rollback is deprecated (yay!) users might need a pointer to the alternative for 99% of the cases where I used rollback. diff -r 4f32747879d1 -r b2b08be5f556 mercurial/commands.py --- a/mercurial/commands.py Sat Jul 13 23:58:01 2013 +0200 +++ b/mercurial/commands.py Wed Jul 17 10:49:34 2013 +0200 @@ -5016,6 +5016,9 @@ def rollback(ui, repo, **opts): """roll back the last transaction (DANGEROUS) (DEPRECATED) + Please use :hg:`commit --amend` instead of rollback to correct + mistakes in the last commit. + This command should be used with care. There is only one level of rollback, and there is no way to undo a rollback. It will also restore the dirstate at the time of the last transaction, losing