[issue747] "hg clone static-http://example.com/" only works if trailing slash is omitted

Paul Bx mercurial-bugs at selenic.com
Fri Sep 21 08:46:57 CDT 2007


New submission from Paul Bx <pb at e-scribe.com>:

If there's no path component in a static-http URL passed to clone, the command 
fails with a 404.

Attached is a quick patch that solves the problem for me; someone more familiar 
with the codebase may be able to offer something more elegant.

----------
files: staticslash.patch
messages: 4023
nosy: pbx
priority: bug
status: unread
title: "hg clone static-http://example.com/" only works if trailing slash is omitted

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue747>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: staticslash.patch
Type: application/octet-stream
Size: 468 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070921/7774180b/attachment.obj 


More information about the Mercurial-devel mailing list