mercurial/commands.py
changeset 19421 b2b08be5f556
parent 19409 ea4342d0e6fe
child 19434 7228cc98ca7d
--- 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