Modifying Only Modified Files in Mercurial

In Mercurial, you can hg statusonly delete modified / added / deleted files:

hg st -m
hg st -a
hg st -r

Is it possible to get the same behavior for a team diff? There seems to be no page from the man page.

+5
source share
1 answer

One option is to use something like this:

hg status -mar --no-status | xargs hg diff

The flag --no-statusensures that only the file name is sent to STDOUT.

+6
source

All Articles