For hg diff
, either give the -I
option multiple times:
hg diff -I version/client_version.txt -I version/server_version.txt
or use shell glob syntax:
hg diff -I 'version/{server,client}_version.txt'
For hg commit
, either use the same syntax or just list the files on the command line without a -I
:
hg commit version/{server,client}_version.txt
And hg push
doesn't need a filename argument.