Is it possible to synchronize local/remote repositories without any interaction (i.e. by script)?
Augie Fackler
raf at durin42.com
Sun Aug 12 17:46:39 UTC 2018
> On Aug 12, 2018, at 10:00 AM, Chris Green <cl at isbd.net> wrote:
>
> These need to be as far as possible silent scripts, as noted above I'm
> happy to have them talk to me if there's a conflict of some sort but
> otherwise I want quietness. I can probably manage to make the ssh
> access password/key-less but how easy is it to automate the mercurial
> bits?
Should be pretty easy - `hg push && hg pull` is probably all you need, and if either of those exit nonzero you need to do some kind of merge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20180812/6c875cf8/attachment-0002.html>
More information about the Mercurial
mailing list