Re: how to revive a deleted directory? (+ svn segfault)
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-11-24 01:07:20 CET
Joey Hess wrote:
This error message is produced because "PREV" means the revision before your working copy's base revision. It doesn't mean the revision before HEAD. "PREV" and "BASE" can only be used when there is a working copy for them to refer to.
> I tried checking out the base of my repository, and do a svn cp from
That's interesting. I don't get a segfault when I try to do a similar thing, but then I'm running the head version of Subversion, and the segfault bug might have been fixed already.
~/tmp> svn co -N file:///home/julianfoad/vcs/sandbox/
In my case, "cyc" is a directory that existed in the repository up to revision 46 but was deleted in revision 47 (HEAD). I am assuming that this corresponds to your scenario.
Nevertheless, I think there might be a bug in non-recursive checkouts. After the checkout, if I run "svn status -u" I expect to see the directory names (that are in the repository but not checked out) listed with a "*", but I don't see them at all.
I can't find a way to get such a directory back into the WC except with "merge" like Erik suggested. I think "copy" ought to work too.
I am posting to the development mailing list about this, with the subject "Non-recursive checkout is broken?"
- Julian
---------------------------------------------------------------------
|
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.