Cameron Patrick <[EMAIL PROTECTED]> writes:

> Unfortunately this slows down commits;

This is why my script does

batch <<EOF 

[...]

baz library-add $ARCH_ARCHIVE/$ARCH_REVISION
EOF

(the "batch" is the important thing here).

But this hook script means download what has just been uploaded which
is waste of the bandwidth for remote archives ...

> I tried putting it in the
> background but that was racey (or at least used to be) if two tla/baz
> processes are trying to write the same revision to the library at once :-(

This happens only "if" two baz process successfully commit the same
revision, which is unlikely to happen ;-).

(but, isn't library-add supposed to be transactional?)

-- 
Matthieu


_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to