gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: tla suggestions


From: Matthieu Moy
Subject: [Gnu-arch-users] Re: tla suggestions
Date: Fri, 17 Jun 2005 12:50:54 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Cameron Patrick <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]