I know that hg export tip
contains the above information. But the output contains more information than I need. Is there a way to get only the file names without parsing the output of hg export tip
? Maybe some other mercurial command?
You want status
, use it like this:
hg stat --change tip
That will list the file name of each file changed in the changeset tagged tip
with a preceding M
for modified, R
for removed, or A
for added.
You can replace tip
with a tag or a revision number.
See more at hg help status
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With