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

Re: [PATCH] Repository root relative support for the command-line client

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Tue, 29 Apr 2008 14:26:24 -0500

As a matter of fact I did. I don't have this problem replying to
Julian's messages...:)

Troy

On Tue, Apr 29, 2008 at 11:29 AM, Daniel Shahaf <d.s_at_daniel.shahaf.co.il> wrote:
> You sent that privately, didn't you mean to CC the list?
>
> Troy Curtis Jr wrote on Tue, 29 Apr 2008 at 11:21 -0500:
>
>
> > On Tue, Apr 29, 2008 at 11:13 AM, Daniel Shahaf <d.s_at_daniel.shahaf.co.il> wrote:
> > > Troy Curtis Jr wrote on Tue, 29 Apr 2008 at 10:50 -0500:
> > >
> > > > On Tue, Apr 29, 2008 at 10:33 AM, Daniel Shahaf <d.s_at_daniel.shahaf.co.il> wrote:
> > >
> > > > > Troy, is the syntax/semantics of ^ URLs documented anywhere? I didn't
> > > > > find anything obvious in the log message.
> > > > >
> > > >
> > > > From the log message:
> > > > "...This allows the user to use '^/' in front of any target to mean
> > > > the repository root url...."
> > > >
> > > > I wrote this to mean that the repository root url syntax is "^/" not
> > > > "^". Of course you do have to read into it a bit to get that. Julian
> > > > mentioned that eventually this syntax would likely be documented in
> > > > the svnbook and I guess we should explicitly mention the bare
> > > > repository root case.
> > >
> > > Okay, that's the syntax: leading "^/" is magic. And the semantics?
> > > For example:
> > >
> > > 0:~% cd ~
> > > 0:~% svn info '^/' src/svn/trunk | grep URL
> > >
> > > URL: https://svn.collab.net/repos/svn
> > > URL: https://svn.collab.net/repos/svn/trunk
> > >
> > > 0:~% svn info '^/' |grep URL
> > > subversion/libsvn_wc/lock.c:871: (apr_err=155007)
> > > svn: '.' is not a working copy
> > > 1:~%
> > >
> > > Without diving into your discussions with Julian and/or the log
> > > messages, it is not obvious to me what's going on here. Especially not
> > > clear to me is how adding an argument changes the meaning of previous
> > > arguments. The ^ syntax is also dependent on the current directory, which
> > > probably leads to more surprises.
> > >
> >
> > True, but you probably wouldn't know about it unless you looked at the
> > commit and/or discussions!
> >
> > > Perhaps you could prepare a short summary of the ^ magic syntax? There
> > > is no obvious place for it in 'svn help', but I think a file in notes/
> > > is acceptable for now; that file can be used as reference when the
> > > feature is documented in the book.
> > >
> >
> > Yeah I really thought on trying to put it somewhere in svn help but
> > couldn't figure anything out. I'll come up with a brief summary to
> > stick in notes/, seems reasonable.
> >
> > > Thanks,
> > >
> > > Daniel
> > >
> >
> > Troy
> >
> >
>

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-29 21:26:43 CEST

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

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