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

Re: SVN & apply patch

From: Eli Carter <eli.carter_at_commprove.com>
Date: 2007-07-26 18:00:07 CEST

On Thursday 26 July 2007, Erik Huelsmann wrote:
> > Is this possible to apply patch with SVN command line client? E.g. created
> > with SVN diff or SVNLOOK Diff?
>
> No. There's a special patch.exe program (not included with Subversion) for
that.

But that isn't complete. It doesn't handle svn properties, svn rm/add, etc.
Further, the output from svn diff is not quite GNU patch compatible; binary
files aren't handled the same was as GNU diff. Adds and removes are also not
handled the same was as GNU diff, so patch won't delete files either.

*ahem* *steps off soap box*

Look for 'rich patch format'... that may lead you to more info.

Eli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 26 18:00:27 2007

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

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