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

RE: Bug in "svn ls -r REV URL"?

From: <SebastianUnger_at_eaton.com>
Date: 2006-09-26 03:20:56 CEST

This behaviour is apparently intentional. Append @rev to a path to make
SVN look up that path in that rev. I.e. your full command should be:

svn ls -r 1000 http://svn/MyRepro/trunk/old_dir@1000

Seb

-----Original Message-----
From: Ray Johnson [mailto:rayj@ingenio.com]
Sent: Tuesday, 26 September 2006 1:07
To: users@subversion.tigris.org
Subject: Bug in "svn ls -r REV URL"?

I have a repository with an old directory that has been deleted.

I can do the following to see the old directory:

c:> svn ls -r 1000 http://svn/MyRepro/trunk
src/
lib/
old_dir/

I can even get the directory and all of it's children with an export or
checkout or trunk
c:> svn export -r 1000 http://svn/MyRepro/trunk

However, all operations like export, ls, etc. fail when I try to operate
on the old directory itself. For example:
C:\src\temp>svn export -r 1000 http://svn/MyRepro/trunk/old_dir/
svn: REPORT request failed on '/MyRepro/!svn/bc/34291/trunk/old_dir'
svn: '/MyRepro/!svn/bc/34291/trunk/old_dir' path not found

If I understand the error message at all it can't seem to find old_dir
in the HEAD revision. Well duh - I know it's not there.

The bug appears to exist in the fact that isn't properly taking into
account the -r flag when determining if the path even exists.

Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 03:21:35 2006

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

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