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

RE: svn ls on a deleted directory

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2006-09-20 20:12:32 CEST

Ken Bloom wrote:
> I'm having trouble running svn ls on an old revision of a directory
> that I deleted and recreated:
>
> [bloom@little-cat-a assignment1]$ svn ls -r2980
> svn://server/path/to/iris/
> assignment1/
> assignment2/
> assignment3/
> assignment4/
> sample/
>
> [bloom@little-cat-a assignment1]$ svn ls -r2980
> svn://server/path/to/iris/assignment1
> svn: Unable to find repository location for
> 'svn://server/path/to/iris/assignment1' in revision 2980
>
>
> The directory in question was deleted in -r2990 and created fresh in
> -r2991 as I brought in code that I had been trying out elsewhere. Now
> I can't go back and look at the old code.
>
> Is this a known bug? Anybody else seeing this?
>
> [bloom@little-cat-a assignment1]$ svn --version
> svn, version 1.4.0 (r21228)
> compiled Sep 13 2006, 09:04:00

Try "svn ls svn://server/path/to/iris/assignment1_at_2980".

And then go read up on peg revisions.

-David

(The problem is that svn is looking for the item which is named
"assignment1" in HEAD, but which may have had a different name at some
point in the past; as it turns out, this item didn't even exist in
revision 2980, which is why you're getting the error. This is all a
result of Subversion's attempt to support renaming files, which although
incomplete [that's another discussion] is better than nothing, ala CVS.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 20 20:12:22 2006

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