[darcs-users] Executing a program when applying patches

Robin Millette millette at waglo.com
Mon Nov 8 00:30:02 UTC 2004


Stephane Bortzmeyer wrote:

[snip]

> * the test file is apparently executed in a fresh repository
> (/tmp/testing), which implies a complete "darcs get" of the files. I
> understand the rationale (being sure you run the test with the files
> actually recorded), but it can be really long when the repository is
> large.

"get" works locally by creating a symlink from what I read, so it should 
be very fast.

> * the test file is executed with "darcs record" (OK), "darcs apply"
> (OK again) but not with "darcs push". Why? If I want to be sure noone
> pushes invalid files in the repository, should I ban te use of push
> and use only apply?

I expect "pull" and "push" to act in exactly the same way, except for 
the direction of the flow.

-- 
Robin Millette, aka oqp http://rym.waglo.com/wordpress/
http://www.cogitateurs-agitateurs.org/





More information about the darcs-users mailing list