[PATCH 1 of 1] url: added support for scp/rsync style URLs for ssh

Martin Geisler mg at aragost.com
Wed Apr 6 10:59:54 CDT 2011


Thomas Arendsen Hein <thomas at intevation.de> writes:

> * Martin Geisler <mg at aragost.com> [20110406 16:08]:
>> Thomas Arendsen Hein <thomas at intevation.de> writes:
>> 
>> > diff -r 375872fdadba -r 62833deea9f0 mercurial/url.py
>> > --- a/mercurial/url.py	Wed Apr 06 12:48:59 2011 +0200
>> > +++ b/mercurial/url.py	Wed Apr 06 15:22:41 2011 +0200
>> > @@ -32,12 +32,19 @@
>> >      Note that for backward compatibility reasons, bundle URLs do not
>> >      take host names. That means 'bundle://../' has a path of '../'.
>> >  
>> > +    For extra convinience a special form for ssh URLs is recognised,
>> > +    similar to the one used by scp and rsync:
>> > +
>> > +    <user>@<host>:<path>
>> > +
>> 
>> Same here.
>
> The docstring does not use :: before
> <scheme>://<user>:<passwd>@<host>:<port>/<path>?<query>#<fragment>
> Should this be changed, too?

No, sorry -- this docstring is for internal use and it not run through
the Docutils engine. So it can stay the way it is until someone begins
generating HTML from our internal API docs.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list