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

Re: New code: svnpatch

From: John Goerzen <jgoerzen_at_complete.org>
Date: 2003-04-03 17:23:55 CEST

On Thu, Apr 03, 2003 at 05:12:53PM +0200, Rafael Garcia-Suarez wrote:
> > No. Patch will exit with a nonzero status if it creates any of those,
> > and svnpatch makes no changes if this occurs. That is, running
> > svnpatch in this case is functionally identical to running patch.
>
> I think that patch still exits with a status == 0 _and_ creates .orig files
> if it succeeds to apply patches, but needs to offset some changes to do so.
> As your tool doesn't perform the actual commit this is not really important.

Ahh. In that case I will add a test to make sure to ignore those files.

I am upgrading the system anyway so that one can do something like:

svnchange start
...
do lots of stuff here like patching, etc.
...
svnchange stop # find what happend, and issue appropriate svn add/rm commands
svn commit

svnpatch will then just be a simple wrapper script that does svnchange
start, patch, svnchange stop.

-- John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 3 17:39:28 2003

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.