简体   繁体   中英

How to list all files present in a mercurial repository at a given changeset?

I am working on a python script to generate release notes. I am looking for a way to list all files present in a given changeset. I am not interested in what changed, but the whole list of files.

For the moment i thought about two possibilities:

  1. update the repository to a given changeset and get the list of files
  2. customize with the hg log via template

(1) above is not so elegant, and I have not been able to implement (2).

Do you have some suggestions?

我想我自己找到了答案:

hg manifest -r <changeset>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM