mercurial/commands.py
changeset 27317 5091c013fd1a
parent 27292 14a83e8e1b88
child 27329 944af8e2eb4c
equal deleted inserted replaced
27316:777f668eca70 27317:5091c013fd1a
  5284     given via -r/--rev, the parent of that revision will be printed.
  5284     given via -r/--rev, the parent of that revision will be printed.
  5285     If a file argument is given, the revision in which the file was
  5285     If a file argument is given, the revision in which the file was
  5286     last changed (before the working directory revision or the
  5286     last changed (before the working directory revision or the
  5287     argument to --rev if given) is printed.
  5287     argument to --rev if given) is printed.
  5288 
  5288 
       
  5289     This command is equivalent to::
       
  5290 
       
  5291         hg log -r "parents()" or
       
  5292         hg log -r "parents(REV)" or
       
  5293         hg log -r "max(file(FILE))" or
       
  5294         hg log -r "max(::REV and file(FILE))"
       
  5295 
  5289     See :hg:`summary` and :hg:`help revsets` for related information.
  5296     See :hg:`summary` and :hg:`help revsets` for related information.
  5290 
  5297 
  5291     Returns 0 on success.
  5298     Returns 0 on success.
  5292     """
  5299     """
  5293 
  5300