# HG changeset patch # User Matt Mackall # Date 1182551389 18000 # Node ID 51ec5e06950509440b2b146bd56ff58af37d139b # Parent 059bdc8dfb9da6a56bee98ffc29512c9c8452eca rollback: update help for issue316 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2398,7 +2398,9 @@ def rollback(ui, repo): unbundle This command should be used with care. There is only one level of - rollback, and there is no way to undo a rollback. + rollback, and there is no way to undo a rollback. It will also + restore the dirstate at the time of the last transaction, which + may lose subsequent dirstate changes. This command is not intended for use on public repositories. Once changes are visible for pull by other users, rolling a transaction