Using old-http and rsync for pull/push.

Matt Mackall mpm at selenic.com
Wed Sep 28 12:04:23 CDT 2005


On Tue, Sep 27, 2005 at 11:46:19PM -0700, Rob Browning wrote:
> 
> If you use rsync to publish an .hg dir and old-http:// to pull from
> it, will mercurial handle things sanely if a pull is attempted during
> an rsync?

Yes, if you arrange to sync 00changelog.i last.

> Also, I noticed some old TODO diffs on the list that mentioned
> possible rsync:// support.  Is anything like that still planned (or
> sftp://)?

The preferred method at this point for static servers is to upload
bundles.

server$ hg bundle project.hg ../empty
server$ scp project.hg webserver:www/

client$ hg unbundle http://webserver/project.hg

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list