On 2/24/06, Nathan Gray <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 23, 2006 at 04:22:11PM -0800, Jason Dagit wrote:
> >  Look at posthooks in the darcs manual.  If you have any problems with
> > them let me know I should be able to help.
>
> I would like to know which files have been updated with the record, so
> that I can pass that information to my posthook script.  I vaguely
> remember something about storing that info in environment variables.

As far as I know no one has implemented that yet.  One hackish way to
do would be to look at file modification times.  Store in a file the
time stamps of all the files in the directory and time stamps which
change would indicate files that have been updated.  It's not perfect
but probably the quickest to implement.  You could probably just write
the output of ls with date information to a file, diff that with the
data from the previous time, extract the files names which have
changed and then use those names.

I doubt it would be hard to implement, but  I'm stalled from doing any
darcs development at the moment with real life demands.

HTH,
Jason

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to