mercurial/commands.py
changeset 27476 9ebc02157bf3
parent 27471 fe79f86099ae
child 27487 4242d699de6d
equal deleted inserted replaced
27475:a2e2a8fa5fd1 27476:9ebc02157bf3
   540     is committed automatically. Otherwise, hg needs to merge the
   540     is committed automatically. Otherwise, hg needs to merge the
   541     changes and the merged result is left uncommitted.
   541     changes and the merged result is left uncommitted.
   542 
   542 
   543     .. note::
   543     .. note::
   544 
   544 
   545        backout cannot be used to fix either an unwanted or
   545        :hg:`backout` cannot be used to fix either an unwanted or
   546        incorrect merge.
   546        incorrect merge.
   547 
   547 
   548     .. container:: verbose
   548     .. container:: verbose
   549 
   549 
   550       Examples:
   550       Examples:
  3521 
  3521 
  3522     Differences between files are shown using the unified diff format.
  3522     Differences between files are shown using the unified diff format.
  3523 
  3523 
  3524     .. note::
  3524     .. note::
  3525 
  3525 
  3526        diff may generate unexpected results for merges, as it will
  3526        :hg:`diff` may generate unexpected results for merges, as it will
  3527        default to comparing against the working directory's first
  3527        default to comparing against the working directory's first
  3528        parent changeset if no revisions are specified.
  3528        parent changeset if no revisions are specified.
  3529 
  3529 
  3530     When two revision arguments are given, then changes are shown
  3530     When two revision arguments are given, then changes are shown
  3531     between those revisions. If only one revision is specified then
  3531     between those revisions. If only one revision is specified then
  3612     branch name (if non-default), changeset hash, parent(s) and commit
  3612     branch name (if non-default), changeset hash, parent(s) and commit
  3613     comment.
  3613     comment.
  3614 
  3614 
  3615     .. note::
  3615     .. note::
  3616 
  3616 
  3617        export may generate unexpected diff output for merge
  3617        :hg:`export` may generate unexpected diff output for merge
  3618        changesets, as it will compare the merge changeset against its
  3618        changesets, as it will compare the merge changeset against its
  3619        first parent only.
  3619        first parent only.
  3620 
  3620 
  3621     Output may be to a file, in which case the name of the file is
  3621     Output may be to a file, in which case the name of the file is
  3622     given using a format string. The formatting rules are as follows:
  3622     given using a format string. The formatting rules are as follows:
  4961     and '+' represents a fork where the changeset from the lines below is a
  4961     and '+' represents a fork where the changeset from the lines below is a
  4962     parent of the 'o' merge on the same line.
  4962     parent of the 'o' merge on the same line.
  4963 
  4963 
  4964     .. note::
  4964     .. note::
  4965 
  4965 
  4966        log -p/--patch may generate unexpected diff output for merge
  4966        :hg:`log --patch` may generate unexpected diff output for merge
  4967        changesets, as it will only compare the merge changeset against
  4967        changesets, as it will only compare the merge changeset against
  4968        its first parent. Also, only files different from BOTH parents
  4968        its first parent. Also, only files different from BOTH parents
  4969        will appear in files:.
  4969        will appear in files:.
  4970 
  4970 
  4971     .. note::
  4971     .. note::
  4972 
  4972 
  4973        for performance reasons, log FILE may omit duplicate changes
  4973        For performance reasons, :hg:`log FILE` may omit duplicate changes
  4974        made on branches and will not show removals or mode changes. To
  4974        made on branches and will not show removals or mode changes. To
  4975        see all such changes, use the --removed switch.
  4975        see all such changes, use the --removed switch.
  4976 
  4976 
  4977     .. container:: verbose
  4977     .. container:: verbose
  4978 
  4978 
  6226     Option -q/--quiet hides untracked (unknown and ignored) files
  6226     Option -q/--quiet hides untracked (unknown and ignored) files
  6227     unless explicitly requested with -u/--unknown or -i/--ignored.
  6227     unless explicitly requested with -u/--unknown or -i/--ignored.
  6228 
  6228 
  6229     .. note::
  6229     .. note::
  6230 
  6230 
  6231        status may appear to disagree with diff if permissions have
  6231        :hg:`status` may appear to disagree with diff if permissions have
  6232        changed or a merge has occurred. The standard diff format does
  6232        changed or a merge has occurred. The standard diff format does
  6233        not report permission changes and diff only reports changes
  6233        not report permission changes and diff only reports changes
  6234        relative to one merge parent.
  6234        relative to one merge parent.
  6235 
  6235 
  6236     If one revision is given, it is used as the base revision.
  6236     If one revision is given, it is used as the base revision.