1.0 approaches

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Fri Feb 8 09:14:27 CST 2008


>> Should a more standardized sintax be used? Something like:
>> 
>> $ hg clone ssh://myhgserver:/var/lib/hg/myrepo

Indeed it would be more natural.

> Without the second slash, the path is relative to your homedir:
>
> $ hg clone ssh://myhgserver/hg/myrepo

ssh://myhgserver:hg/myrepo

could work too, and would be less likely to be confused with the
absolute path...

> The colon is already used to specify the port.

Checking whether the first character after colon is digit, or not,
is not that impossible...

> This is all moot anyway. It's rather late in the game to change them,
> especially for so little benefit.

The confusion is fairly frequent. And the change need not be invasive,
old convention may be still handled....
 

-- 
----------------------------------------------------------------------
| Marcin Kasperski   | A process that is too complex will fail.
| http://mekk.waw.pl |                  (Booch)
|                    |
----------------------------------------------------------------------



More information about the Mercurial mailing list