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

RE: How to remove a Patch?

From: Glenn Carr <GCarr_at_ConnectShip.com>
Date: Thu, 5 Jun 2008 11:02:22 -0500

> His problem is that he applied 5 patches without committing, and now
> wants to revert one of them. In theory it might be possible to apply a
> patch in reverse, but I suspect it is not worth the trouble as no-one
> has ever requested this before.
> The simple answer is to apply only one patch per commit.
> Or just revert all changes and re-apply the patches you really want.
> Simon

You should be able to use -R on your patch client. From patch --help:

 -R --reverse Assume patches were created with old and new files swapped.

I haven't used this, but a quick test appears to work.

I'm using:


To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-05 18:02:39 CEST

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

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