Thanks for the bug report. I can reproduce it with my few-days-old
trunk build:
[[[
C:\tmp\svn>cd wc1\trunk
C:\tmp\svn\wc1\trunk>svn switch -r BASE ^^/tags A
..\..\..\subversion\svn\switch-cmd.c:167: (apr_err=150000)
..\..\..\subversion\libsvn_client\switch.c:184: (apr_err=150000)
..\..\..\subversion\libsvn_client\ra.c:433: (apr_err=150000)
..\..\..\subversion\libsvn_client\ra.c:637: (apr_err=150000)
..\..\..\subversion\libsvn_client\revisions.c:91: (apr_err=150000)
..\..\..\subversion\libsvn_wc\entries.c:1343: (apr_err=150000)
svn: 'C:\tmp\svn\wc1\trunk\file:\C:\tmp\svn\r\tags' is not under version control
C:\tmp\svn\wc1\trunk>svn switch -r 1 ^^/tags A
D A\B
D A\mu
D A\C
D A\D
Updated to revision 1.
C:\tmp\svn\wc1\trunk>
]]]
Haven't looked into the cause, but the error message suggests some flawed
path calculations. Could you file an issue so we don't forget it?
Thanks,
Daniel
SebastianUnger_at_eaton.com wrote on Fri, 11 Sep 2009 at 01:10 -0400:
> Hi all,
>
>
>
> I have recently upgraded from a really ancient version (1.4.0) to the
> latest ubuntu release (jaunty) which has subversion 1.5.4. There I
> found, what I believe to be a bug in the command line client which I
> have since confirmed to exist in svn 1.6.5 as well.
>
>
>
> In short -r BASE, -r COMMITTED etc don't work while -r <number> does. At
> least for the switch command.
>
>
>
> I have attached a shell script to reproduce the problem.
>
>
>
> Please include me in responses, as I am not subscribed to the mailing
> list.
>
>
>
> Cheers,
>
> Seb
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2393520
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2393544
Received on 2009-09-11 09:12:15 CEST