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

Re: Patch command execution

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-02-07 21:17:22 CET

Daniel Berlin <dan@dberlin.org> writes:

> > We welcome anyone able to find a librarized implementation of
> > diff/patch which is compatible with our BSD license. We also welcome
> > anyone willing to write all that functionality from scratch. ;-)
> Well, wait, we're just talking about patch here.
> Thi is because we want patch to do something it doesn't, and can't, but
> could with simple changes.

IMHO, 'patch' is an amazingly difficult piece of code, written by
Larry Wall. Applying context diffs is not trivial -- involves all
kinds of fuzzy logic.

> Given the requirement that it only support the default diff format svn
> generates,

...whoa there. SVN sends its own binary diff format over the *wire*
only. During an update, this binary diff is used to recreate a new
pristine fulltext in .svn/tmp/. Then we use diff/patch to perform a
*context* merge into the user's existing local mods.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:05 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.