monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: netsync connection info cleanup


From: Timothy Brownawell
Subject: Re: [Monotone-devel] Re: netsync connection info cleanup
Date: Tue, 27 Apr 2010 19:00:32 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100411 Icedove/3.0.4

On 04/27/2010 06:54 PM, Zack Weinberg wrote:
On Tue, Apr 27, 2010 at 4:42 PM, Timothy Brownawell<address@hidden>  wrote:

Is the occasional backslash really that bad? '%' conflicts with urlencoding
(and '*' would only actually glob things if you have some really weirdly
named files), and '?' is probably necessary for file/ssh sync.

I think it's more important to avoid characters that are meaningful in
URLs (*especially* %) than to avoid characters that are meaningful to
the shell.  People expect to have to quote URLs.  Also, I don't like /
as a separator when it's not traversing a directory-like hierarchy.

Huh, hadn't really considered the "overloading '/'" aspect. It does seem slightly bad now that you mention it.

So, how about this?

   protocol://address@hidden/path/to/database?include,include,-exclude,-exclude

+1

should work equally well for mtn (with usher), ssh, and file.  Without
usher, you just leave out the /path part.

(Also, ~ in the path part should absolutely have the 'go to home
directory' semantic.)

zw


--
Timothy

Free public monotone hosting: http://mtn-host.prjek.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]