[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: David Glasser <glasser_at_davidglasser.net>
Date: 2007-09-07 19:40:11 CEST

On 9/2/07, Charles Acknin <charlesacknin@gmail.com> wrote:
> So, for now, svn patch only cares about the svnpatch block of a patch.
> Which means although you can feed it with a unidiff+svnpatch input
> (like for example the output that comes right out from 'svn diff
> --svnpatch'), it seeks to the svnpatch header and starts reading from
> here. This is because I -- we? -- haven't yet come to a solution
> regarding "How do we deal with Unidiff in Subversion?". I'd like to
> take the opportunity of this post to open the talk on this matter.
> Yet, if you want to apply unidiff+svnpatch, you'll have to run both
> 'svn patch' and your favorite patch tool (like GNU patch(1)). Let the

Hmm, maybe the answer here is to have some sort of "svn patch
--ignore-textdelta" (with a much better name) so that what you would
do is run both "svn patch --ignore-textdelta" and patch(1) in series?
(And wrap that in a shell script.)


David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 7 19:36:59 2007

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