Help: annotate

hg annotate [-r REV] [-f] [-a] [-u] [-d] [-n] [-c] [-l] FILE...

aliases: blame

show changeset information by line for each file

List changes in files, showing the revision id responsible for each line.

This command is useful for discovering when a change was made and by whom.

If you include --file, --user, or --date, the revision number is suppressed unless you also include --number.

Without the -a/--text option, annotate will avoid processing files it detects as binary. With -a, annotate will annotate the file anyway, although the results will probably be neither useful nor desirable.

Template:

The following keywords are supported in addition to the common template keywords and functions. See also 'hg help templates'.

lines
List of lines with annotation data.
path
String. Repository-absolute path of the specified file.

And each entry of "{lines}" provides the following sub-keywords in addition to "{date}", "{node}", "{rev}", "{user}", etc.

line
String. Line content.
lineno
Integer. Line number at that revision.
path
String. Repository-absolute path of the file at that revision.

See 'hg help templates.operators' for the list expansion syntax.

Returns 0 on success.

options ([+] can be repeated):

-r --rev REV annotate the specified revision
--follow follow copies/renames and list the filename (DEPRECATED)
--no-follow don't follow copies and renames
-a --text treat all files as text
-u --user list the author (long with -v)
-f --file list the filename
-d --date list the date (short with -q)
-n --number list the revision number (default)
-c --changeset list the changeset
-l --line-number show line number at the first appearance
--skip REV [+] revset to not display (EXPERIMENTAL)
-w --ignore-all-space ignore white space when comparing lines
-b --ignore-space-change ignore changes in the amount of white space
-B --ignore-blank-lines ignore changes whose lines are all blank
-Z --ignore-space-at-eol ignore changes in whitespace at EOL
-I --include PATTERN [+] include names matching the given patterns
-X --exclude PATTERN [+] exclude names matching the given patterns
-T --template TEMPLATE display with template

global options ([+] can be repeated):

-R --repository REPO repository root directory or name of overlay bundle file
--cwd DIR change working directory
-y --noninteractive do not prompt, automatically pick the first choice for all prompts
-q --quiet suppress output
-v --verbose enable additional output
--color TYPE when to colorize (boolean, always, auto, never, or debug)
--config CONFIG [+] set/override config option (use 'section.name=value')
--debug enable debugging output
--debugger start debugger
--encoding ENCODE set the charset encoding (default: UTF-8)
--encodingmode MODE set the charset encoding mode (default: strict)
--traceback always print a traceback on exception
--time time how long the command takes
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
--hidden consider hidden changesets
--pager TYPE when to paginate (boolean, always, auto, or never) (default: auto)
; ,)i&OaSo}T 04`ǖ9Cn-$Y0Z+ HjDvV׾oj֗eF[CXPS6-ƲSKЖ|~f4ej|10b@-B-Eogmk%*U ­}۝nYټRdL+7y[ l\]29RKkK {Ga?۷ qZ'TJj㛮!ƌcֻH1SmyeGR;?Y+GSZ܊za8f->n27^ug !:nP$融(LIYVC3>Ż SQ4Os bfDOk캁'a=4%]Ǹ]zL 8};/LWoI }HaB{k/\('S}}e' iSxGn@9:f\+P =O⃕'BL=ۢaqk!γW! E%'3%1FZaw#4؞^A9WcJ5md S`Ш׆I*RJjL|mfZQaou<$[&U;3B`8Uw N@LUZ2"x q0+|ApIJM!V3Vh͎" NF\ E=_ H,kIDUFW aX)bͤ$X_V0ӓe;60:?T3I]f㧥`RR} juT(U}BܠCTx|P p}a >+~ڂ^x :4Nnjv}C(ւAR E퐘l@sH`H)jQhN @Zt|ĔtqDC M"ˇ^hZXB5{#{گ칵<-0XP3\r|>|=pX:KLUN(0'zNdB< Tb.,'<7MJXkz^:2DRܵΘ[TztOoȷj_Q[S Xf< !K&d0gm0+lz.h\"_9徣Ndt6Wo*csUEQ~./G'M򥤢3uҷ6Lr ~ORd$3 ]Ҩv<ǎ T@f9ex :860Y6nq=G'XXzmx?kQ }4¸)km[]}& =FsG[Db/_pdZo H~Ttj<}(E I~OPĸȒ>ZuƢNdG);:ӝv*?[Sҕ2ӿ>osUAK)ҕ80#iog4#WT? =3&[μ$5nt[+{I`'Tawn_4ҹHQ\lCKQh|1}W$YUATqp1cyDҝܘb0D~7K}f}Nt嶎n˃9؂nup^smOSA0:): {1 $rQ|Ѐ@ ƚuġXe6VPHn@U61š8-?f,FDcK&q 3m[} nI^1 v-$\.>hXH![siIڹ<}'> K^KJd}34sXHItӞRudtO+ 3K3R>Wz4gH3Mef,b?Z,y̟ SݘI7uÈS%HH)(M&g+