, , CVS, . hg help keyword .
{desc} Mercurial,
[keywordmaps]
Log = {desc}
[keyword]
**.c =
$Log$ .c.
, CVS- , . Mercurial .
$ hg commit -m "Fixed bug 123" foo.c
$ hg commit -m "Fixed bug 234" bar.c
, foo.c 10, , 11 bar.c. foo.c 11 - , bar.c foo.c, 11 foo.c, bar.c.
, : $Log: Fixed bug 123 $ foo.c $Log: Fixed bug 234 $ bar.c 2e85d7f2f93e.
, , , . - , ! - . , version.h , .
hg id Makefile. - :
$ hg parents --template '{latesttag}+{latesttagdistance}-{node|short}\n'
2.1+117-eed1e5bba9a8. , (eed1e5bba9a8) 117 (2.1). , , , .