equal
deleted
inserted
replaced
2787 |
2787 |
2788 def update(ui, repo, node=None, rev=None, clean=False, date=None): |
2788 def update(ui, repo, node=None, rev=None, clean=False, date=None): |
2789 """update working directory |
2789 """update working directory |
2790 |
2790 |
2791 Update the working directory to the specified revision, or the |
2791 Update the working directory to the specified revision, or the |
2792 tip of the current branch if none is specified. |
2792 tip of the current branch if none is specified. Use null as |
|
2793 the revision to remove the working copy (like 'hg clone -U'). |
2793 |
2794 |
2794 If the requested revision is a descendant of the working |
2795 If the requested revision is a descendant of the working |
2795 directory, any outstanding changes in the working directory will |
2796 directory, any outstanding changes in the working directory will |
2796 be merged into the result. If it is not directly descended but is |
2797 be merged into the result. If it is not directly descended but is |
2797 on the same named branch, update aborts with a suggestion to use |
2798 on the same named branch, update aborts with a suggestion to use |