equal
deleted
inserted
replaced
2812 |
2812 |
2813 def update(ui, repo, node=None, rev=None, clean=False, date=None): |
2813 def update(ui, repo, node=None, rev=None, clean=False, date=None): |
2814 """update working directory |
2814 """update working directory |
2815 |
2815 |
2816 Update the repository's working directory to the specified revision, |
2816 Update the repository's working directory to the specified revision, |
2817 or the tip of the current branch if none is specified. |
2817 or the tip of the current branch if none is specified. Use null as |
|
2818 the revision to remove the working copy (like 'hg clone -U'). |
2818 |
2819 |
2819 If the requested revision is a descendant of the working |
2820 If the requested revision is a descendant of the working |
2820 directory, any outstanding changes in the working directory will |
2821 directory, any outstanding changes in the working directory will |
2821 be merged into the result. If it is not directly descended but is |
2822 be merged into the result. If it is not directly descended but is |
2822 on the same named branch, update aborts with a suggestion to use |
2823 on the same named branch, update aborts with a suggestion to use |