Are revlog diff calculated as "text" ALWAYS?

Scott Palmer swpalmer at gmail.com
Tue May 13 23:11:22 UTC 2014


On Tue, May 13, 2014 at 6:59 PM, Jesus Cea <jcea at jcea.es> wrote:

>
> An additional option would be to do real binary XDELTA-like diff ALWAYS,
> but then I wonder how this would interact with "hg diff" when the file
> is actually text.
>

I had always assumed (incorrectly) that Mercurial worked like that anyway,
having read that Mercurial needs to load entire files into RAM to perform
the diff operation.  I also assumed that the diff algorithm used to produce
the deltas that are stored in the repo had absolutely no relation to the
output of "hg diff".  Is that assumption also wrong?  Reading
http://mercurial.selenic.com/wiki/FAQ/TechnicalDetails it appears that I'm
just full of incorrect assumptions. Sigh...

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140513/15b7a695/attachment-0002.html>


More information about the Mercurial mailing list