equal
deleted
inserted
replaced
2754 This command should be used with care. There is only one level of |
2754 This command should be used with care. There is only one level of |
2755 undo and there is no redo. |
2755 undo and there is no redo. |
2756 |
2756 |
2757 This command is not intended for use on public repositories. Once |
2757 This command is not intended for use on public repositories. Once |
2758 a change is visible for pull by other users, undoing it locally is |
2758 a change is visible for pull by other users, undoing it locally is |
2759 ineffective. |
2759 ineffective. Furthemore a race is possible with readers of the |
|
2760 repository, for example an ongoing pull from the repository will |
|
2761 fail and rollback. |
2760 """ |
2762 """ |
2761 repo.undo() |
2763 repo.undo() |
2762 |
2764 |
2763 def update(ui, repo, node=None, merge=False, clean=False, force=None, |
2765 def update(ui, repo, node=None, merge=False, clean=False, force=None, |
2764 branch=None, **opts): |
2766 branch=None, **opts): |