You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Erik Huelsmann <eh...@gmail.com> on 2007/07/26 15:45:07 UTC

Re: SVN & apply patch

> 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.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN & apply patch

Posted by Erik Huelsmann <eh...@gmail.com>.
On 7/26/07, Eli Carter <el...@commprove.com> wrote:
> 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.

Work on that is being done in the context of this year's Google Summer of Code.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN & apply patch

Posted by Eli Carter <el...@commprove.com>.
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