[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible issue with hook called before effective commit (was:Re: [Gn
From: |
Robert Collins |
Subject: |
Re: Possible issue with hook called before effective commit (was:Re: [Gnu-arch-users] script to send changelog related to latest changeset log at an email address?) |
Date: |
Sat, 07 Feb 2004 23:48:06 +1100 |
On Sun, 2004-02-08 at 00:05, David MENTRE wrote:
> Hello,
>
> Sascha, I noticed a possible issue with your script: you call a doMirror
> function to update the mirror of the archive where the commit is
> done. However, when the hook script is called, the commit is not done
> yet (as far as I have understood hook behavior), so the mirror does
> nothing.
>
> $ tla commit
> M raw-clnt/command.ml.nw
> M raw-clnt/toplevel.ml.nw
> * update pristine tree (address@hidden/demexp--development--0.1--patch-87 =>
> demexp--development--0.1--patch-88)
the archive transaction is finished here.
> <-- I think the hook for commit is called at that step
>
> * mirroring address@hidden to address@hidden with limit
> demexp--development--0.1
> ** adding revision demexp--development--0.1--patch-88
> * commited address@hidden/demexp--development--0.1--patch-88
>
> <-- commit is only effective there, so the mirror is not up-to-date.
this is when the UI returns.
>
> Any idea how I might fix that?
Nothing to fix.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part