Mercurial vs. Bazaar speedtest clone and log - update: hg 1.1 vs. bzr 1.10

Matt Mackall mpm at selenic.com
Thu Dec 18 19:17:44 UTC 2008


On Mon, 2008-12-15 at 12:13 +0100, Arne Babenhauserheide wrote:
> As suggested in the Mercurial Mailinglist, I reran the local cloning
> test for 
> Bazaar using a shared repository and forced hardlinks. With this Bazaar needed 
> just 2.6s for a local clone, without hardlinks about 12s, so by using shared 
> repositories the local cloning becomes quite fast in Bazaar (as long as you 
> restrict yourself to the shared repository). 

FYI, Mercurial has an analogous but unadvertised sharing mode:

hg init shared
rmdir shared/.hg/store
ln -s orig/.hg/store shared/.hg/store

We haven't added this mode to the clone command because operations that
modify history (mq, strip, rebase) can cause parents of other checkouts
to cease to exist.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list