m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If make check fails


From: Gary V. Vaughan
Subject: Re: If make check fails
Date: Tue, 28 Aug 2001 22:13:31 +0100
User-agent: Mutt/1.3.21i

On Tue, Aug 28, 2001 at 11:20:16AM +0200, Akim Demaille wrote:
> >>>>> "Gary" == Gary V Vaughan <address@hidden> writes:
> 
> Gary> Rich, making a change to GNU diff (and the converse to GNU
> Gary> patch) to maintain mode information would make a lot of
> Gary> developers very happy :-)
> 
> There is something else I'm dreaming of: a means to embed some
> commands, or a means to hook commands to patches.  Most typically, I
> work my patches at home, bring them on a floppy (sometimes I forget to
> remove the dirname when I post the patches :) and then apply them on
> CVS.
> 
> But I often forget cvs add/rm.  I'd like to be able to write/hook
> those commands when writing the patch, and forget about those details
> when applying them.

While I agree that there is a need.  I don't think it is the job of
patch or diff to do this.  Presumably you need to write (or generate)
the script commands to hook into the patch anyway, so why not simply
make a shar archive of the patch and script plus some magic to apply
and execute respectively.

This would be a pretty cool little weekend project all the same.
Rich, are you still upi for this?  I'd be happy to give you a leg up
if you'd like... I can imagine a fairly rapid uptake among users of
patch and diff.

I think all that is necessary is a program (maybe even a shell script)
to generate a patch, and roll it into a self executing shar archive
along with some extra commands to run -- maybe a pre and post patch
application script?

> Currently, I run this script

Sweet!

Cheers,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]