[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: Ken Bloom <kbloom_at_gmail.com>
Date: 2006-09-20 22:01:36 CEST

On Wednesday 20 September 2006 13:12, Gale, David wrote:
> 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.)

Thanks for that tip. It helped with the ls, but the copy that I'm
trying to on a file that was hidden in that replaced directory isn't
succeding, even with a peg revision.

$ svn ls svn://server/path/to/iris/assignment1/assignment-1.pdf_at_2980
assignment-1.pdf

$ svn cp -r2980 svn://server/path/to/iris/assignment1/assignment-1.pdf_at_2980 .
svn: Path 'svn://server/path/to/iris/assignment1/assignment-1.pdf_at_2980' not found in revision 2980

Any tips there?

--Ken

-- 
Ken Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/

  • application/pgp-signature attachment: stored
Received on Wed Sep 20 22:02:57 2006

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