On Mon, 19 Feb 2007 09:54:42 +0100 Jean Delvare wrote:

> Hi Randy,
> 
> On Sun, 18 Feb 2007 23:01:55 +0100, Jean Delvare wrote:
> > On Sun, 18 Feb 2007 22:50:05 +0100, Jean Delvare wrote:
> > > On Sun, 3 Dec 2006 21:39:16 -0800, Randy Dunlap wrote:
> > > > 
> > There are two ways to fix it:
> > 1* If import -R is used and no -p value is given, add -p1 to the patch
> > options. That's the easiest.
> > 2* Actually fix function patch_args to add -p1 to the patch options if
> > no -p option is found, rather than if the option string is empty. This
> > will be slightly more difficult, but still doable, and cleaner too IMHO.
> 
> I took the second approach as it was cleaner. Then I fixed the problems
> I had found in your original patch, the code isn't really nice but it
> works. And I also had to update change_db_strip_level to remove -R from
> the patch args list, as refreshing a patch resets its "reverse" nature.
> 
> Here's what I've come up with, which appears to work for me. Can you
> please give it a try and confirm it works OK for you too? (CVS patch,
> apply with -p0.)

Applied and tested.  Nice job, thanks.

---
~Randy


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to