You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Chen <qu...@cs.berkeley.edu> on 2006/02/16 10:56:41 UTC
removing versioned symlink to "."
$ ln -s . foo1
$ ln -s . foo2
$ svn add foo1 foo2
A foo1
A foo2
$ svn ci -m '' foo1 foo2
Adding foo1
Adding foo2
Transmitting file data .
Committed revision 1.
$ svn rm foo1
svn: 'foo1' is in the way of the resource actually under version control
$ svn rm -m '' https://example.org/foo1
Committed revision 2.
$ rm foo2
$ svn rm foo2
D foo
$ svn ci -m '' foo2
Deleting foo2
Committed revision 3.
--
Karl 2006-02-16 02:51
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: removing versioned symlink to "."
Posted by kf...@collab.net.
Karl Chen <qu...@NOSPAM.quarl.org> writes:
> I don't see anything in the changelog so perhaps this was
> previously fixed without having had a bug filed.
That happens a lot, yeah. Glad to hear it's gone now!
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: removing versioned symlink to "."
Posted by Karl Chen <qu...@NOSPAM.quarl.org>.
>>>>> On 2006-03-01 18:16 PST, Karl Fogel writes:
kfogel> Okay, I made the following script based on your
kfogel> recipe, and can't reproduce the problem with latest
kfogel> trunk svn (r18676) on my Debian box. Try it with
kfogel> trunk@HEAD and tell me what happens for you: [..]
I tried it on v1.3.0 just now, and it works fine (no bug). I'd
been using v1.2.3 (which Debian unstable still uses). I should
have reported this earlier.
I don't see anything in the changelog so perhaps this was
previously fixed without having had a bug filed.
--
Karl 2006-03-01 21:05
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: removing versioned symlink to "."
Posted by kf...@collab.net.
Karl Chen <qu...@cs.berkeley.edu> writes:
> >>>>> On 2006-02-16 08:08 PST, Karl Fogel writes:
>
> kfogel> Karl Chen <qu...@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
Re: removing versioned symlink to "."
Posted by Karl Chen <qu...@cs.berkeley.edu>.
>>>>> On 2006-02-16 08:08 PST, Karl Fogel writes:
kfogel> Karl Chen <qu...@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".
--
Karl 2006-02-16 11:01
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: removing versioned symlink to "."
Posted by kf...@collab.net.
Karl Chen <qu...@cs.berkeley.edu> writes:
> $ ln -s . foo1
> $ ln -s . foo2
>
> $ svn add foo1 foo2
> A foo1
> A foo2
>
> $ svn ci -m '' foo1 foo2
> Adding foo1
> Adding foo2
> Transmitting file data .
> Committed revision 1.
>
> $ svn rm foo1
> svn: 'foo1' is in the way of the resource actually under version control
>
> $ svn rm -m '' https://example.org/foo1
>
> Committed revision 2.
>
> $ rm foo2
>
> $ svn rm foo2
> D foo
Why does this step say "D foo" if what you removed is "foo2"?
> $ svn ci -m '' foo2
> Deleting foo2
>
> Committed revision 3.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org