[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNROOT (again)

From: Micah Elliott <mde_at_micahelliott.com>
Date: 2007-10-19 21:21:17 CEST

On 2007-10-18 Blair Zajac wrote:

> Micah Elliott wrote:
> > svn checkout //branches/6.0
>
> Well, checkouts won't work because there's no URL to pull the
> repository root from.

Right. :-) For my purposes, it's not necessary anyway --
"checkout" is something of a special operation that we can do for
our users. We have to do a bunch of other custom setup to
"create a workspace", so checkout would just be a transparent
step included in that operation (done automatically by some
environmental tool that already knows the Repository Root).

Still, svn might be able to make use of an environment variable
(say SVNROOT) to make the substitution on 'svn checkout' since
there's no "info" to glark from. Then checkout's argument could
be implicit.

> I just put in relative externals for 1.5 which could be useful
> for a base for this discussion. We choose to use ^/ for
> repository root and // for scheme relative URLs to be
> consistent with various RFCs.

I can't seem to figure out what "relative externals" are. But
I probably don't need to know. I would sure like to see those
two syntaxes enabled for all commands. I'm already testing v1.5
(r26502) but I don't see any indication that ^/ or // are
functional (though I'm probably using them in the wrong context
if they're particular to relative externals).

Anyway, I'm very pleased to see this being worked on. I'm not crazy
about ^/ -- seems a little awkward to type and associate, but you
probably have good reasons for preferring it. I really like //.

(Maybe the design discussion for the syntax should be over on the
dev@ list. Let me know if you'd like me to start a thread.)

-- 
                          _ _     ___
                          |V|icah |- lliott
                          " "     """
mde_at_MicahElliott.com            <><             http://MicahElliott.com
PGP: 0x7C07CBF0          ICQ: 369060435      Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5

Received on Fri Oct 19 21:21:41 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.