Skip to contentSkip to conversation

Mercurial v0.4c

DISCUSSION Matt Mackall 2 participants 4 messages May 4, 2005 – May 5, 2005

lore
Share & tools
lore
#0 lore raw

A new version of Mercurial is available at:

http://selenic.com/mercurial/

This version is officially self-hosting, now that I've added the final planned changed to the metadata. To pull the repo, do:

hg init
hg merge http://selenic.com/hg

This version fixes numerous reported bugs, adds a "verify" command to check the repository integrity, transaction handling, and some minor speed improvements.

Signature · 1 line
Mathematics is the supreme nostalgia of our time.
#1 lore raw

Mercurial v0.4d

A new version of Mercurial is available at:

http://selenic.com/mercurial/

This fixes a handful of bugs reported last night, most notably failing to pull from the http repo. This turned out to be a failure to quote '%' characters. Thanks to everyone for their feedback.

Once you've got the new version installed, to pull the repo:

hg init
hg merge http://selenic.com/hg
hg checkout # 'hg co' works too

The web protocol is painfully slow, mostly because it makes an http round trip per file revision to pull. I'm about to start working on a replacement that minimizes round trips.

Signature · 1 line
Mathematics is the supreme nostalgia of our time.
#2 lore raw

Re: Mercurial v0.4d

Quoted 3 lines · Matt Mackall

The web protocol is painfully slow, mostly because it makes an http round trip per file revision to pull. I'm about to start working on a replacement that minimizes round trips.

Can you make it do HTTP 1.1 pipelining?

Jeff

#3 lore raw

Re: Mercurial v0.4d

Quoted 6 lines · Jeff Garzik
Quoted 3 lines · Matt Mackall

The web protocol is painfully slow, mostly because it makes an http round trip per file revision to pull. I'm about to start working on a replacement that minimizes round trips.

Can you make it do HTTP 1.1 pipelining?

Yes, a zsync-like protocol ought to be doable. But you'll still potentially be doing 16k requests to pull something the size of the kernel, which isn't very friendly to a web server. So I'm working on a stand-alone or possibly CGI-based replacement.

My goal is to do something like this:

client server
I last saw change N from you
W, X, Y, and Z are newer here
Send me X, Y, and Z relative to N
Here you go, deltas from N to X to Y to Z, sorted by file

So not only can we be efficient in number of round trips and data transferred, we can reduce seeks by applying all per-file changes together. We can also usually avoid decompress/recompress and patch/diff because both ends will end up storing the same delta.

Signature · 1 line
Mathematics is the supreme nostalgia of our time.