2002-11-18 23:00:11

by deepak

[permalink] [raw]
Subject: patch

how do i uninstall a patch


2002-11-18 23:14:36

by Rik van Riel

[permalink] [raw]
Subject: Re: patch

On Mon, 18 Nov 2002, deepak wrote:

> how do i uninstall a patch

$ man patch
...
-R or --reverse
Assume that this patch was created with the old and new
files swapped. (Yes, I'm afraid that does happen occa?
sionally, human nature being what it is.) patch
attempts to swap each hunk around before applying it.
Rejects come out in the swapped format. The -R option
...

Next time you should read the man page yourself ;)

Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://guru.conectiva.com/
Current spamtrap: <a href=mailto:"[email protected]">[email protected]</a>

2002-11-19 08:25:59

by Duncan Sands

[permalink] [raw]
Subject: Re: patch

On Tuesday 19 November 2002 00:20, Rik van Riel wrote:
> On Mon, 18 Nov 2002, deepak wrote:
> > how do i uninstall a patch
>
> $ man patch
> ...
> -R or --reverse
> Assume that this patch was created with the old and new
> files swapped. (Yes, I'm afraid that does happen occa?
> sionally, human nature being what it is.) patch
> attempts to swap each hunk around before applying it.
> Rejects come out in the swapped format. The -R option
> ...
>
> Next time you should read the man page yourself ;)

Come on, be fair. This text is pretty obscure. If you didn't know so
already, would you understand from it that -R undoes a patch?

Duncan.