On Thu, Mar 27, 2008 at 06:34:31PM -0400, Richard Lowe wrote: > > I was thinking that if mercurial had a pre-pull hook that would fire > > whenever > > it receives a pull/clone request then I could use that and a prechangegroup > > hook to implement a locking mechanism. But that would lead us to the > > situation you've described for the teamware ON gates. > > You could do that, yes. And it would, but to a lesser degree. > putback would block bringover, but not the reverse. I would expect > that to be far less of a problem than bringover locking out putback > (as with Teamware).
I'm concerned that if a push comes in while a pull is in progress then the pull may see the pushed items before the push transaction is closed (or, more importantly, before the transaction is aborted&rolled-back). Are the opensolaris.org repositories using hg-ssh or hg-login? Who is in charge of configuring access to those repos, and setting up new repos when project teams are ready to publish? Dean