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

Re: svn diff --svnpatch & svn patch

From: Charles Acknin <charlesacknin_at_gmail.com>
Date: 2007-09-08 19:20:22 CEST

On 9/8/07, Mark Phippard <markphip@gmail.com> wrote:
> I am still completely confused.
>
> Let's say I just edit 5 normal files (java/c etc..) No adds or copies
> or anything.
>
> Can I make an "svnpatch" and apply it with just svn patch?

No, not with *just* svn patch.

If you run 'svn diff --svnpatch' against a working copy that has just
*contextual* modifications, you'll find the same output as with 'svn
diff'. That's because the svnpatch part of a patch only carries:
 - tree changes
 - property changes
 - binary changes

(and text changes don't fall into one of these cases).

From your previous post I now understand why you're confused. I think
you thought the svnpatch block did carry text changes, which is not
the case.

Cheers,
Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 8 19:17:03 2007

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