On Fri, Aug 08, 2008 at 02:28:10PM -0600, David Marker wrote:
> Finally I created a parent repo with these hooks to see what happened:
>
> changegroup.0 = touch /tmp/changy.${HG_NODE}
> changegroup.1 = sleep 60
>
> The reason I touch a file is cause you don't get any output from ssh
> till its all over.
> So one child repo is going to have to "push -f" to overcome the creation
> of a new head.
>
> Anyway the result I saw was that the second push had to wait.
>
> I repeatedly did `hg log -l1` while both waited for sleep.
> So the first push gets in right away.
> Then waits 60 seconds.
> During that time you can see it with `hg log -l1`
> The second one does *not* show up.
> Which means a push to the clone won't pick it up.
> Nor should `hg update`.
Okay, I'm convinced.
Dean