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: hendrik
Subject: Re: [Monotone-devel] Re: netsync connection info cleanup
Date: Thu, 29 Apr 2010 08:37:19 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Apr 28, 2010 at 09:41:08AM -0600, Derek Scherger wrote:
> On Wed, Apr 28, 2010 at 1:34 AM, Thomas Keller <address@hidden> wrote:
> 
> >
> > +1/2 - this is similar to my last proposal (with ":" as separators, but
> > I'd accept "," as well) - but the mandatory "?" still strikes me. Do you
> > see any way to avoid "?" for the 90% use case (sync a single branch
> > without wildcards from / to a remote database)?
> >
> 
> I haven't followed this thread terribly carefully so this may be a rehash of
> something earlier (apologies in advance if it is). Branches can be
> considered "things that exist within a database" so the idea of a hierarchy
> from database to branch is somewhat reasonable. Following this, a url like
> 
> mtn://host/database/branch
> 
> might be workable and can avoid the need for a ? separator. Things might get
> awkward when you try and extend this to include more than one branch or
> several branch patterns though.

There's a syntactic ambiguity here in knowing where the database name 
(which might contain slashes) ends and the branch name starts.  On a 
system where files and directories can't have the same names, it can be 
resolved semantically.  But on systems like, say. DEC VMS, there might 
be a problem.

Does the syntax here actually need to be system-independent?  I admit, 
it would be nice... .

-- hendrik




reply via email to

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