[PATCH] Accept file://localhost/ style urls as local

Jonathan S. Shapiro shap at eros-os.com
Sun Sep 9 00:06:05 CDT 2007


On Sat, 2007-09-08 at 15:24 -0700, Brendan Cully wrote:

> I'd like to see an example too (preferably not a theoretical one). It
> seems to me that the host part of a file: URL means either "same host
> you're on" or "this URL is invalid" (since there's no specified way to
> access the other host). This makes the hostname field pretty
> worthless.

I answered this before. It is used to signal "this URL is not valid on
the current host". It is an error check.



More information about the Mercurial-devel mailing list