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

RE: svn ls/co -r <rev> does not work on deleted or moved directories

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Thu, 25 Feb 2010 13:32:07 +0000

> Moin,
>
> Setup:
> 1) create a repo with a few directories
> 2) commit some stuff
> 3) delete a directory at revision 42
> 4) commit some more stuff
> 5) do an svn co -r 41 svn://path/to/deleted/dir
> -> this will fail with a "file/directory not found" error
>
> Interestingly, using the @ notation
> svn co svn://path/to/deleted/dir_at_41 works fine.
>
> Same is true for svn ls, using -r<num> in svn:externals
> properties and probably a few other places as well.
>
> I had a look at the issue tracker but couldnt find any related entry.

That's becuase it's not an issue. It's how it's supposed to work. See
http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
Received on 2010-02-25 14:32:48 CET

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.