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

Re: svn switch -r BASE does not work

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 11 Sep 2009 10:11:53 +0300 (Jerusalem Daylight Time)

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\mu
Updated to revision 1.


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?



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

Received on 2009-09-11 09:12:15 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.