[PATCH] Don't lie that "binary file has changed"
tailgunner at smtp.ru
tailgunner at smtp.ru
Thu Feb 15 21:56:15 UTC 2007
On Thu, 15 Feb 2007 09:19:12 -0200
"Alexis S. L. Carvalho" <alexis at cecm.usp.br> wrote:
> Thus spake tailgunner at smtp.ru:
> > Without -a option to "hg diff", mdiff.unidiff reported that "Binary
> > file foo has changed" without even trying to compare things. Now it
> > computes MD5 of old and new files, compares them and makes the conclusion.
>
> Do you have an example of when unidiff is called for two identical
> (binary) files?
>
The case where binary file is renamed
>
> Comparing a and b directly would probably be even faster :)
>
Sure, but it would take twice as much memory
More information about the Mercurial-devel
mailing list