mercurial/commands.py
changeset 7040 f29b674cc221
parent 7013 f56e788fa292
parent 7037 e3f9feb9ab7e
child 7094 a4769dec7773
equal deleted inserted replaced
7039:aafe12bd7174 7040:f29b674cc221
  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