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

Re: removing versioned symlink to "."

From: <kfogel_at_collab.net>
Date: 2006-03-02 03:16:46 CET

Karl Chen <quarl@cs.berkeley.edu> writes:
> >>>>> On 2006-02-16 08:08 PST, Karl Fogel writes:
>
> kfogel> Karl Chen <quarl@cs.berkeley.edu> writes:
> >> $ svn rm foo2
> >> D foo
>
> kfogel> Why does this step say "D foo" if what you removed is
> kfogel> "foo2"?
>
> Oops, that was spurious; it's just because I manually edited the
> output. It should be "D foo2".

Okay, I made the following script based on your recipe, and can't
reproduce the problem with latest trunk svn (r18676) on my Debian box.
Try it with trunk@HEAD and tell me what happens for you:

--------------------8-<-------cut-here---------8-<-----------------------
#!/bin/sh

SVN=${HOME}/src/subversion/subversion/svn/svn
SVNADMIN=${HOME}/src/subversion/subversion/svnadmin/svnadmin
URL=file:///`pwd`/repos

rm -rf repos wc

${SVNADMIN} create repos
${SVN} co ${URL}/ wc

cd wc

ln -s . foo1
ln -s . foo2

${SVN} add foo1 foo2
### Recipe says to expect this output:
#
# A foo1
# A foo2

${SVN} ci -m '' foo1 foo2
### Recipe says to expect this output:
#
# Adding foo1
# Adding foo2
# Transmitting file data .
# Committed revision 1.

${SVN} rm foo1
### Recipe says to expect this output:
#
# svn: 'foo1' is in the way of the resource actually under version control
#
### But I just get "D foo1", as I would hope for.

${SVN} rm -m '' ${URL}/foo1
### Recipe says to expect this output:
#
# Committed revision 2.
#
rm foo2

${SVN} rm foo2
### Recipe says to expect this output:
#
# D foo

${SVN} ci -m '' foo2
### Recipe says to expect this output:
#
# Deleting foo2
#
# Committed revision 3.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 2 05:02:33 2006

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