Search code examples
mercurialdiffdvcs

mercurial generate file name only diff


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

Solution

  • 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?