I would expect that the total server load on hg.mozilla.org is high enough that whatever you do as a single person isn't going to be even a blip on the radar so I'd expect just a "hg pull" with a reasonable frequency would be just fine. If you want to be sure you're up to date make a simple script that pulls first from your local clone then from the real repo.
Downside? I've had a cronjob doing this frequently for a while and the local repo gets corrupt data in it about every other week and I have to go manually strip the offending changesets and repull. No idea why. On Thu, Sep 19, 2013 at 9:31 PM, Blair McBride <bmcbr...@mozilla.com> wrote: > Ohai! > > I have numerous copies of mozilla-central (and other repos) for various > purposes - spread around physical boxes and VMs. Some of them I use > regularly and update regularly, others not-regularly. I've been thinking > about the amount of time and bandwidth I waste updating them all from a > remote server (hg.mozilla.org, github, etc). I suspect I'm not alone in > this. > > So, I was thinking of setting up a local mirror of mozilla-central (and > other repos) - and update my development repos from the local mirror. > Obviously, I'd like to automatically keep the mirror up to date, but > without hammering the remote server. I was thinking regularly scheduled > updates from the remote, as well as on-demand updates whenever I pull from > the local mirror if the last scheduled update was greater than X hours ago. > > Has anyone setup this type of system before? Or know of any tools that > already handle this? It'd be nice to save some time by working from > previous art, as well as document the process for others. > > - Blair > ______________________________**_________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/**listinfo/dev-platform<https://lists.mozilla.org/listinfo/dev-platform> > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform