Bug in 'hg diff'

श्रीधर नारायण श्रीधर नारायण
Tue Jul 24 07:30:25 CDT 2007


On Tuesday 24 July 2007 04:54, Paul Sargent wrote:
> All I meant to do was point out that the "misread" phrase could be
> interpreted to include the behaviour the original poster expected.

This problem bugged me as well and my solution was to use extdiff and pass 
suitable options.

This is what I do, after enabling extdiff extension in ~/.hgrc.
alias repdiff='hg extdiff -o '\''-bBw'\'' 2>&1 > /home/shridhar/diff'

I find this diff format sensible enough most of the times. Especially 
without -w, the diff is pretty useless when a large function is refactored 
into smaller ones.

HTH

 Shridhar


More information about the Mercurial mailing list