mercurial - show details of a changeset

show list of changesets:

hg log

show the details of a particular changeset (number 98):

hg log --color=always --stat  -pr 98

On Windows, you can make an alias for this command.

1. add the following to the file %USERPROFILE%\mercurial.ini


[alias]
logcolor = log --color=always --stat -pr $1


2. to use the new alias:


hg logcolor 10


where 10 is the revision number 10.

Comments