Reputation: 4695
Is there a way to generate a diff in mercurial that only gives the file names? I'd like to do something like
diff -r 1 --file-names-only
and get something like
+AddedFile.java
-RemovedFile.java
/ChangedFile.java
/AnotherChangedFile.java
Upvotes: 9
Views: 6824
Reputation: 117106
If you do not need stat info, then this output is a lot cleaner:
hg log --style status
# git log --name-status
If you want don't like the format of "status" style it can be customized even further using templates:
hg log --template "{rev} {subject}\n{files % ' {file}\n'}\n"
# git log --name-only
Upvotes: 1
Reputation: 9172
I see that you just want to see added/removed/changed files, etc. Thought it was something more complex. Shouldn't hg stat
do what you need, then?
Upvotes: 4
Reputation: 464
This should do the trick
hg status --rev revision1:revision2
Where revision1 and revision2 can be a changeset, tag etc.
Upvotes: 17