In our build scripts I use the templated hg log
command to get a changelist for a particular build. This works great, but unfortunately it does not include changes in the subrepos (we have more than 10 of them). I would like to include them too, but there seems to be no such command.
I'm thinking about writing a script that:
- Enumerates the .hgsubstate file at the starting revision
- Finds out the subrepos and their starting revisions
- Runs
hg log
for them - Merges and sorts the results by date.
Is there any other simpler way? Maybe a command I'm missing?
Since it's apparently on the todo for a
whileyears and otherwise unavailable, I wrote my ownsubtools.py
:use as such: