HG(DIFF) HG(DIFF) (NAME) hg diff - ( ) (SYNOPSIS) hg diff [OPTION]... ([-c REV] | [--from REV1] [--to REV2]) [FILE]... (DESCRIPTION) . (unified diff format) . hg diff . --config diff.merge=yes . . --from . --to . hg diff --from .^ hg diff --to . ( ) hg diff --from 1.0 --to 1.2 . -c/--change ( hg diff -c 42 hg diff --from 42^ --to 42 ). -a/--text diff . -a . -g/--git git . hg help diffs . : o : hg diff foo.c o : hg diff --git --from 1.0 --to 1.2 lib/ o : hg diff --stat --from "date('may 2')" o : hg diff "set:added() and grep(GNU)" o : hg diff -c 9353 # compare against first parent hg diff --from 9353^ --to 9353 # same using revset syntax hg diff --from 9353^2 --to 9353 # compare against the second parent 0 . (OPTIONS) -r,--rev () --from --to -c,--change --ignore-changes-from-ancestors () -a, --text -g, --git git (: diff.git) --binary git () --nodates diff --noprefix /a /b -p, --show-function (: diff.showfunc) --reverse () -w, --ignore-all-space -b, --ignore-space-change -B, --ignore-blank-lines -Z, --ignore-space-at-eol (EOL) -U,--unified (context) --stat diffstat --root -I,--include -X,--exclude -S, --subrepos [+] HG(DIFF)