mercurial/commands.py
changeset 6842 e37fa751182a
parent 6814 88804fad71bc
child 6843 b114a8c7998f
child 6858 8f256bf98219
equal deleted inserted replaced
6841:05a62e8ddf3d 6842:e37fa751182a
  2778     on the same named branch, update aborts with a suggestion to use
  2778     on the same named branch, update aborts with a suggestion to use
  2779     merge or update -C instead.
  2779     merge or update -C instead.
  2780 
  2780 
  2781     If the requested revision is on a different named branch and the
  2781     If the requested revision is on a different named branch and the
  2782     working directory is clean, update quietly switches branches.
  2782     working directory is clean, update quietly switches branches.
       
  2783 
       
  2784     If you want to update just one file to an older revision, use revert.
  2783 
  2785 
  2784     See 'hg help dates' for a list of formats valid for --date.
  2786     See 'hg help dates' for a list of formats valid for --date.
  2785     """
  2787     """
  2786     if rev and node:
  2788     if rev and node:
  2787         raise util.Abort(_("please specify just one revision"))
  2789         raise util.Abort(_("please specify just one revision"))