[darcs-users] Re: darcs problems w/ large archives?

Mark Stosberg mark at summersault.com
Sat Oct 23 20:45:28 UTC 2004


On 2004-10-23, Kevin Ollivier <kevino at tulane.edu> wrote:
>
> So how would I go about adding these pre and post-darcs scripts? 

Here's one idea. Say you wanted to do something 'pre' or post a
'record'.

You could create a simple shell script named 'darcs_record'.
It would pass the options to it through through to 'darcs record',
but may run something before after it:

#!/bin/bash

echo "before record";
darcs record $@;
echo "after record";

############

I haven't tried it myself, but I think it would work.

	Mark

-- 
http://mark.stosberg.com/ 





More information about the darcs-users mailing list