[PATCH] subrepo: recognize scp-style paths as git URLs

Matt Mackall mpm at selenic.com
Thu Mar 17 15:16:21 CDT 2011


On Thu, 2011-03-17 at 16:06 -0400, Eric Eisner wrote:
> The docs define this scp syntax to be
> 
> [user@]host.xz:path/to/repo.git/
> 
> which may or may not have an at sign, some periods, or some slashes, but
> definitely has a colon. Having a colon is it's defining attribute, and this
> is why I was vaguely against supporting it on irc, but apparently a lot of
> git people (such as github) use it.

Is it possible for a / to appear before a :? That would greatly reduce
false positives.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list