Search code examples
mercurial

Examining a single changeset in 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.


Solution

  • 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