Customizing the hg diff output

Augie Fackler lists at durin42.com
Tue Sep 1 18:12:06 UTC 2015


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?

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
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> https://selenic.com/mailman/listinfo/mercurial


More information about the Mercurial mailing list