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

Behavior of "svn <op> symlink-to-wc" do when symlink is under version control?

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Fri, 31 Oct 2008 17:10:02 +0100

With svn 1.5.3, I did something like:

$ ln -s some_dir foo
$ svn add foo
$ svn info foo
$ svn diff foo
$ svn status foo
$ svn revert foo

where some_dir is a version-controlled directory (in the same WC or
another one). "svn info foo" behaved as expected, returning info about
the symbolic link "foo". But it seems that "svn diff foo" diffs the
working copy pointed by "foo"; BTW, this is what lead to this bug:

  http://subversion.tigris.org/issues/show_bug.cgi?id=2716

Ditto for "svn status foo". And "svn revert foo" gives an error message:

  Failed to revert 'foo' -- try updating instead.

Note: There has been a bug report concerning "svn info":

  http://subversion.tigris.org/issues/show_bug.cgi?id=2305

but with my test above, I don't see any problem.

Should new bugs be added to the tracker?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-31 17:10:24 CET

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