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

Re: Can't ls or co inside deleted trees - even with -r $oldver?

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2006-01-12 14:06:18 CET

Peter Valdemar Mørch wrote:

> svn ls -r 2 file:///path/to/deleted/directory
> or
> svn co -r 2 file:///path/to/deleted/directory
> Right?
> However, both fail on svn, version 1.2.3 (r15833) with this error
> message: svn: File not found: revision 3, path 'to/deleted/directory'

AIUI, these commands are both asking to be applied to revision 2 of the
file identified by that path in the HEAD revision. Since the path is not
valid on the HEAD revision they fail. Use a peg revision as:

svn ls -r 2 file:///path/to/deleted/directory_at_2
svn co -r 2 file:///path/to/deleted/directory_at_2

to refer to revision 2 of the file which had that path in revision 2.

N.B. You still need to specify the revision number twice to check it out as

   svn co file:///path/to/deleted/directory_at_2

will fail with the same error message as it identifies the file from the
path in revision 2 then (I think) tries to check out its head revision. The
ls command on the other hand seems to default to the peg revision for its
output. There seems to be a deal of inconsistency between commands here.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 12 14:28:31 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.