comparison mercurial/commands.py @ 8856:f8d00346a62d

rollback: minor clarification (issue828)
author Matt Mackall <mpm@selenic.com>
date Sat, 20 Jun 2009 09:00:02 -0500
parents f331de880cbb
children cad6370a15cb
comparison
equal deleted inserted replaced
8855:f331de880cbb 8856:f8d00346a62d
2678 """roll back the last transaction 2678 """roll back the last transaction
2679 2679
2680 This command should be used with care. There is only one level of 2680 This command should be used with care. There is only one level of
2681 rollback, and there is no way to undo a rollback. It will also 2681 rollback, and there is no way to undo a rollback. It will also
2682 restore the dirstate at the time of the last transaction, losing 2682 restore the dirstate at the time of the last transaction, losing
2683 any dirstate changes since that time. 2683 any dirstate changes since that time. This command does not alter
2684 the working directory.
2684 2685
2685 Transactions are used to encapsulate the effects of all commands 2686 Transactions are used to encapsulate the effects of all commands
2686 that create new changesets or propagate existing changesets into a 2687 that create new changesets or propagate existing changesets into a
2687 repository. For example, the following commands are transactional, 2688 repository. For example, the following commands are transactional,
2688 and their effects can be rolled back: 2689 and their effects can be rolled back: