URL format

Matt Mackall mpm at selenic.com
Thu Jun 13 15:23:52 CDT 2013


On Thu, 2013-06-13 at 18:21 +0900, Oleg Tsarev wrote:
> 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

This doesn't agree with the git docs. They document this format:

       ·   ssh://[user@]host.xz[:port]/path/to/repo.git/

And this one:

       ·   [user@]host.xz:path/to/repo.git/

We've been aware of the mismatch between git and hg here for eight
years. It's way too late to fix.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list