##// END OF EJS Templates
rollback: add reference to "hg commit --amend"...
Martin Geisler -
r19421:b2b08be5 default
parent child Browse files
Show More
@@ -5016,6 +5016,9 b' def revert(ui, repo, *pats, **opts):'
5016 def rollback(ui, repo, **opts):
5016 def rollback(ui, repo, **opts):
5017 """roll back the last transaction (DANGEROUS) (DEPRECATED)
5017 """roll back the last transaction (DANGEROUS) (DEPRECATED)
5018
5018
5019 Please use :hg:`commit --amend` instead of rollback to correct
5020 mistakes in the last commit.
5021
5019 This command should be used with care. There is only one level of
5022 This command should be used with care. There is only one level of
5020 rollback, and there is no way to undo a rollback. It will also
5023 rollback, and there is no way to undo a rollback. It will also
5021 restore the dirstate at the time of the last transaction, losing
5024 restore the dirstate at the time of the last transaction, losing
General Comments 0
You need to be logged in to leave comments. Login now