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

Christian Ebert blacktrash at gmx.net
Sat Sep 8 16:30:42 CDT 2007

* Jonathan S. Shapiro on Saturday, September 08, 2007 at 10:23:33 -0400
> On Sat, 2007-09-08 at 09:24 +0200, Christian Ebert wrote:
>> MacOS X' sanity is rather limited:
> Since when is this news?

Apart from that, I'm curious about an example where simply
dropping the local host component (which is done in case it's
empty already for file:///..., or probably would have to done if
it's valid) would lead to a different or dangerous result, not
from a puristic, but practical Hg point of view. The resulting
path is checked for validity. So could there happen anything
worse than what happens now, in case you give an invalid path?

Those are my principles, and if you don't like them ... well, I have others.
--Groucho Marx

More information about the Mercurial-devel mailing list