##// END OF EJS Templates
imported patch rollback-help
Matt Mackall -
r5575:8788ff63 default
parent child Browse files
Show More
@@ -2454,10 +2454,12 b' def revert(ui, repo, *pats, **opts):'
2454 del wlock
2454 del wlock
2455
2455
2456 def rollback(ui, repo):
2456 def rollback(ui, repo):
2457 """roll back the last transaction in this repository
2457 """roll back the last transaction
2458
2458
2459 Roll back the last transaction in this repository, restoring the
2459 This command should be used with care. There is only one level of
2460 project to its state prior to the transaction.
2460 rollback, and there is no way to undo a rollback. It will also
2461 restore the dirstate at the time of the last transaction, losing
2462 any dirstate changes since that time.
2461
2463
2462 Transactions are used to encapsulate the effects of all commands
2464 Transactions are used to encapsulate the effects of all commands
2463 that create new changesets or propagate existing changesets into a
2465 that create new changesets or propagate existing changesets into a
@@ -2470,11 +2472,6 b' def rollback(ui, repo):'
2470 push (with this repository as destination)
2472 push (with this repository as destination)
2471 unbundle
2473 unbundle
2472
2474
2473 This command should be used with care. There is only one level of
2474 rollback, and there is no way to undo a rollback. It will also
2475 restore the dirstate at the time of the last transaction, which
2476 may lose subsequent dirstate changes.
2477
2478 This command is not intended for use on public repositories. Once
2475 This command is not intended for use on public repositories. Once
2479 changes are visible for pull by other users, rolling a transaction
2476 changes are visible for pull by other users, rolling a transaction
2480 back locally is ineffective (someone else may already have pulled
2477 back locally is ineffective (someone else may already have pulled
General Comments 0
You need to be logged in to leave comments. Login now