live-mirroring of repository

Dirk Heinrichs dirk.heinrichs at recommind.com
Wed May 6 06:19:33 UTC 2015


Am 02.05.2015 um 12:36 schrieb Lasse Kliemann:

> My solution so far was as follows. In A, there is a hook configured:
>
> changegroup = hg-hook-push URL-OF-B
>
> And in B, we have:
>
> changegroup = hg-hook-push URL-OF-A

I think the better approach would be some kind of transparent proxy,
like gitolite does for git. Admin defines one repo as the master, while
all others are slaves. People can then pull from and push to their
nearest slave. However, the pushes are silently redirected to the
master, which in turn pushes further to all slaves. No race conditions
anymore.

The downside is: I don't know any Mercurial repo management tool that
can do this. Does anybody else?

Bye...

    Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 (Ansage) 1149
*Email*: dhs at recommind.com <mailto:dhs at recommind.com>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150506/d358fc62/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo.gif
Type: image/gif
Size: 1537 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150506/d358fc62/attachment-0002.gif>


More information about the Mercurial mailing list