live-mirroring of repository
Bob Hood
bhood2 at comcast.net
Sat May 2 11:42:38 UTC 2015
On 5/2/2015 4:36 AM, Lasse Kliemann wrote:
> Any help is appreciated. Also, of course, if you have a better idea how
> to do such a live-mirroring, I will be happy to go with that.
Just a thought, but in each of your hooks, why not check the source of the
incoming changeset, and if it is the other repo, then do not push? That would
likely remove any potential race condition. I seem to recall, in my past
researches into creating Mercurial hooks, that such information is available
to the hook code.
More information about the Mercurial
mailing list