Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Examining a single changeset in Mercurial

Tags:

mercurial

In Mercurial, how do you examine a single changeset? hg log -l 5 will give me a summary of the newest 5 changesets, but how do I get a list of the files changed in one changeset? I don't want to do a diff.

like image 936
hekevintran Avatar asked Mar 31 '10 05:03

hekevintran


2 Answers

Pass -v to log and it will print out additional information, including a list of files changed.

Example:

hg log -v -r<rev> | grep ^files
like image 182
ataylor Avatar answered Oct 16 '22 09:10

ataylor


I was looking for the same thing and found the following command, which is more what I was looking for:

hg status --change <rev>

Found in this article.

like image 27
Jay Sheridan Avatar answered Oct 16 '22 09:10

Jay Sheridan