[darcs-devel] Re: darcs patch: handle empty path for ssh urls
RT#205
Tomasz Zielonka
tomasz.zielonka at gmail.com
Mon May 9 14:33:49 PDT 2005
On Mon, May 09, 2005 at 08:41:45PM +0200, Benedikt Schmidt wrote:
> Tomasz Zielonka <tomasz.zielonka at gmail.com> writes:
>
> > On Sat, Apr 30, 2005 at 10:13:00PM +0000, Benedikt Schmidt wrote:
> >> +match_ssh_nopath :: Regex
> >> +match_ssh_nopath = mkRegex "^[^:]{2,}:$"
> >
> > Is there a reason for using {2,} instead of {1,} ?
>
> One-letter hostnames are not supported since eg. c:/path
> is recognized as a local file (see comment in DarcsURL.hs).
> I wanted to keep the old behaviour with the patch.
Ah, I see! It's been a long time since I last used windows, so I forgot
about this issue ;-)
Best regards
Tomasz
More information about the darcs-devel
mailing list