Customizing the hg diff output
Angel Ezquerra
angel.ezquerra at gmail.com
Tue Sep 1 22:37:42 UTC 2015
On Tue, Sep 1, 2015 at 8:12 PM, Augie Fackler <lists at durin42.com> wrote:
> Maybe you could wire up extdiff to a script that dispatched to some
> normal diff tool for non-sbs files and the custom differ for those?
Actually IBM Rhapsody comes with a decent GUI diff tool that hides
those meaningless changes. However I'd like to hide them on the
TortoiseHg diff view to avoid the need to keep opening the Rhapsody
diff tool all the time...
Angel
> On Sat, Aug 29, 2015 at 7:46 AM, Angel Ezquerra
> <angel.ezquerra at gmail.com> wrote:
>> 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