Customizing the hg diff output

Angel Ezquerra angel.ezquerra at gmail.com
Sat Aug 29 11:46:00 UTC 2015


Hi,

I have some users that keep track of IBM Rhapsody sbs files in one of
their mercurial repos. These files are text files, so mercurial works
well with them. However, IBM Rhapsody modifies these files every time
they are saved, even if no changes were made to them. In particular,
they contain a bunch of lines such as:

WeakCGTime = last_modification_date

which are modified on every save.

This makes it really hard to use the TortoiseHg diff view to quickly
inspect the changes made to a file. Instead people need to diff the
files using the IBM Rhapsody diff merge tool.

What would be the best way to handle this problem? Maybe I could
somehow filter the diff output, removing any lines that match the
pattern above?

Any ideas?

Angel


More information about the Mercurial mailing list