URL format
Oleg Tsarev
oleg at oleg.sh
Thu Jun 13 04:21:58 CDT 2013
Hi developers,
I meet one problem with mercurial URL format, and I have one proposal to
fix.
I want to know your opinion about that.
rsync/git works in following way:
ssh://username@hostname:path — relative path
ssh://username@hostname:/path — absolute path
mercurial:
ssh://username@hostname:/path — relative path
ssh://username@hostname://path — absolute path
I read documentation (hg help urls) and found following:
ssh://username@hostname[:port]/path
Mercurial accepts ":/" - i.e. with ":" but without integer (port number).
I propose to fix this in two possible ways:
1) Allow ":path" and ":/path" as relative and absolute pathes
2) Restrict use ":path" and ":/path" - return erorr "port is not specfied"
Let me know your opinion,
Best regards, Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130613/c0187442/attachment.html>
More information about the Mercurial-devel
mailing list