On Wed, Apr 28, 2010 at 09:41:08AM -0600, Derek Scherger wrote:
> On Wed, Apr 28, 2010 at 1:34 AM, Thomas Keller <m...@thomaskeller.biz> 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


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to