On 4/26/07, François Beausoleil <firstname.lastname@example.org> wrote:
> Hello Sam,
> When you say you deleted "trunk", do you mean your working copy or the
> folder in your repository ?
The later, the folder in my repository!
> If #1, simply checkout a new working copy and start from there.
> If #2, you have to find the exact revision in which you deleted your
> trunk (from Windows command line):
> svn log --verbose --revision HEAD:1 --limit 5 https://apache/repos/project/
> Notice the /trunk part is missing. That's because you want to log the
> parent's folder, and not trunk itself (because it was deleted).
> Once you have the revision (let's call it X), you will do:
> svn copy --revision X-1 https://apache/repos/project/trunk
> Here, you tell Subversion to copy /trunk as it was in revision X-1 (do
> the math, svn can't do it for you) and to put it back in /project.
> Hope that helps !
I followed your instructions to a T and I have it all back! I think I
only lost about 8 hours of work, so not the end of the world.
By the way, I used did it from the Linux box because svn was/is not in
my Windows path.
Received on Fri Apr 27 02:36:35 2007