[darcs-users] determining what darcs apply did [was: sending notices when a repo changes]

Thomas Zander zander at kde.org
Sun Mar 6 11:23:42 UTC 2005


On Sunday 06 March 2005 11:19, Ralph Corderoy wrote:
> I'd favour possibly large data going into a temporary file with the
> filename in an environment variable.

Thats a bad idea; don't assume you get to always write a file in the 
environment you are running in.

> How do other SCMs handle this?

http://www.gnu.org/software/gnu-arch/tutorial/using-hooks.html

Notice that the strategy chosen there; one script which is called by all 
hooks with a different argument. Really does not help to make things 
easier.
The env vars idea is used there, and in cvs.  Proven idea; please go for 
that :)
-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050306/194045f9/attachment.pgp 


More information about the darcs-users mailing list