httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: [PATCH] Brian Havard's OS/2 stuff
Date Thu, 06 Nov 1997 12:32:30 GMT
On Wed, Nov 05, 1997 at 12:48:25PM -0800, Dean Gaudet wrote:
> Oh I was just complaining that cvs sucks when done on recursive diffs. 
> It's fine otherwise.  I've meant to write a simple perl script which takes
> "cvs diff -u" output and generates something closer to what "diff -ru" 
> would generate -- i.e. with full filenames in the appropriate places.
But recent patch versions evaluate the "Index: full/dir/path" prefix that
"cvs diff" prints before each individual diff output. If you apply a
"patch -p0 <cvs-diff-output", everything works fine usually.

> I use "cvs diff -u" for 99% of the patches I post.  It's only when the
> diff hits files with the same basename in multiple directories that it
> becomes an issue. 

Oh, yeah: do NEVER omit the "-p0" (or whatever level) switch. It lures
patch into trying the current dir when it shouldn't.

    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message