[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: |
Andrew Suffield |
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, 7 Feb 2004 13:54:21 +0000 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Sat, Feb 07, 2004 at 11:48:06PM +1100, Robert Collins wrote:
> 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.
Except the bloody output sequence, which has irritated me for months.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature