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

Re: svn info /path/to/symlink-to-wc fails

From: Keith Beattie <ksbeattie_at_gmail.com>
Date: Fri, 18 Jan 2008 12:03:37 -0800

On Jan 18, 2008 5:43 AM, Erik Huelsmann <ehuels_at_gmail.com> wrote:
>
> No, why? [I suppose you were not going to report 'st' is broken?] What
> you're seeing is correct behaviour: symlinks themselves are versioned
> objects, so you're not asking Subversion
>
> "what's the info on 'the path the symlink points to'", but you're
> asking "what's the info of '/path/to/symlink' within its working copy
> '/path/to'".
>
> Other than brokenness of 'st', I can't think of a reason to file a bug.

Well, in order for svn to answer the question you've correctly
understood that I'm trying to ask:
  "What's the info/ls/pg/etc on 'the path the symlink points to'"
knowing full well that the symlink itself is not in a WC and not under
version control.

Just because svn versions an object doesn't mean any such object
handed to it *must* be versioned for svn to properly work through it.
That seems unnecessarily limiting to me.

On Jan 18, 2008 7:03 AM, Vincent Lefevre <vincent+svn_at_vinc17.org> wrote:
...
>
> I'd say that when there is a slash, the symlink should be resolved
> by svn.
>

What about just having svn check to see if it is a versioned object
and if so, report on it as such. If it isn't, then work on what it
points to?

I could be wrong but It seems to me that svn notices that it is a
symlink and then (falsely in my case) assumes it is in a WC.

Regards,
ksb

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-18 21:04:47 CET

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.