[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Create/Apply Patch - UTF-16 and binary support

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 22 May 2013 21:01:54 +0200

On 22.05.2013 18:29, Friedrich.Brunzema wrote:
> When I do a commit, the changes are bunched up in some binary format
> and sent to the server. Can we not capture this kind of data in some
> text-encoded format, and have the patch program understand the format?

A binary delta will apply correctly only to exactly the same, unmodified
source. A patch, on the other hand, contans context information that
help it find parts of the file that (appear to) match whatever source
the patch was created from.

See:
    http://en.wikipedia.org/wiki/Delta_encoding
vs.
    http://en.wikipedia.org/wiki/Diff

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-05-22 21:02:32 CEST

This is an archived mail posted to the Subversion Dev mailing list.