Missing revlogs on new, empty repository

Matt Mackall mpm at selenic.com
Mon Aug 22 23:32:51 UTC 2011


On Fri, 2011-08-19 at 19:04 -0700, martythornley wrote:
> Thanks!
> 
> Here are the results. Same when running clone in terminal as when using SourceTree. Also tried another gui - MacHG and same results.

> MacBooKPro:Test Thornley$ hg clone http://blogsitebeta.com/wp-content/plugtest/seo-image-galleries --traceback

Ok, I clicked on that URL and got a page that just said 'hi'. Which
confirms my suspicions from last week 100%:

>>>>
Can you browse that repository address with your browser? Does it look
ok there?

If not, you're probably not running hgweb on your server and your client
is falling back to static (slow, stupid) http access. And then... your
web server is deciding the name "index.htm" is magic and breaking
things.
>>>>

A site that's running hgweb looks like this:

http://selenic.com/hg/  <- this is what I mean by "browsable"

Whereas your site is just a bunch of files copied onto a web server:

http://blogsitebeta.com/wp-content/plugtest/seo-image-galleries/.hg/requires

..which is definitely NOT the recommended way to serve Mercurial repos.
It can be made to work (but it will be slow) though your web server is
VERY likely to trip and break things when it tries to move around things
that look like web content (ie PHP and HTML files) and it helpfully
decides to do something other than deliver the data verbatim.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list