In Mercurial (Hg), what is a good way to list all the files I have changed since the 4822 revision?

I can work on the development for 2 weeks before one or two functions are redirected to all production servers, and since this is a Ruby on Rails project, many files can be changed.

So, using Mercurial as a source control, is there a good way to list all the file names that have been changed (or added) by me between the current version and version 4822? (the number 4822, before I do the first hg push, I do hg outand see that the set of changes that comes out is 4823, so I will be different with 4822)

(Update: this is a list of only the files I modified, unlike the other 38 files modified by my teammates)

Even better is there a good way to automatically call hg vdiff, so when calling

checkdiff Peter 4822

It will do

hg vdiff -r 4822 [... the list of filenames modified by Peter (or me) since 4822]
+3
source share
1 answer

Maybe use hg logsome nice one-line images?

hg log --user Peter --verbose | grep files | sed -e 's/files://' | tr ' ' '\n' | sort | uniqwill provide all files that you have modified since the creation of the repository. Use --revto limit the scope of the revision.

+1
source

All Articles