You can do this when you differ for use on the screen with the ExtDiff Extension .
[extensions] hgext.extdiff = [extdiff] # add new command that runs GNU diff(1) in case-insensitive mode cmd.mydiff = diff opts.mydiff = -i
Then you run hg mydiff from the command line. This, of course, requires that you have the diff binary installed. This is / gnu or something else.
However, it will not be as useful as you would like, because internally, of course, Mercurial cannot ignore the case - it takes a cryptographic hash of the contents of the file, and this does not allow the use of space for maneuver. Therefore, if you get this setting, you will make hg mydiff and you will not see any changes, then execute hg commit and see the changes everywhere.
So, you can do this work on the screen, but not fundamentally.
One option is to find a visual base code cleaner similar to indent for C-type languages, which normalizes the variable case and launches it in the hook using mercurial commit. Then, at least, all the code going to the original control will be consistent, and you can accurately distinguish between revisions.
Ry4an brase
source share