Today I've hit a wall and I can't find an easy way around it.
Around 3 years ago, I re-arranged our SVN repository and cleaned up some
but mainly just moved some directories around.
Today I tried to checkout those files as it was 3 years and I couldn't find
an easy way around it. I have checked both the Subversion handbook and the
FAQ (especially: "
I'm trying to look at an old version of my file, but svn says something
about "path not found". What's going on?"none of which answer my problem..
svn co -r revision# http://svn/path/to/delete_path/deletedfile
Will give me the error:
svn: '/svn/path/!svn/bc/3660/trunk/path/file/' path not found
I can only recoved deleted files as long as they are located in a directory
that still exist in the current version. If the path has been changed then
svn co won't work.
$ svn mkdir -m "test" https://svn.com/svn/trunk/foo
Committed revision 3633.
$ svn mkdir -m "test" https://svn.com/svn/trunk/foo/foo2
Committed revision 3634.
elrond:~/Projects/SVN/hp/Projects avenardj$ svn mkdir -m "test"
Committed revision 3635.
$ svn co https://svn.com/svn/trunk/foo
Checked out revision 3635.
so far so good.
$ svn move -m "test" https://svn.com/svn/trunk/foo
Committed revision 3636.
So now foo has been renamed as foo2.
Now let's try to extract the earlier version of trunk/foo, as it was in
$ svn co -r 3635 https://svn.com/svn/trunk/foo
svn: REPORT request failed on '/svn/!svn/bc/3636/trunk/foo'
svn: '/svn/!svn/bc/3636/trunk/foo' path not found
This shouldn't happen.
However, svn copy can work with the old path:
Example: if I do:
#svn co http://svn/path/to/newdirectory
#svn copy http://svn/path/to/deletedfile deletedfile
Then it will find it.
svn copy forces me to extract the file in a working copy, obviously this is
not what I want to do, I want to check out a whole image as it was 3 years
ago, it doesn't let me do this.
Did I miss anything? Any ideas?
What can I do to recover an old deleted/moved version?
Thank you for your help
Please excuse me in advance if this is a problem that has been raised before
but I've googled for over one hour without finding anything to answer what I
Received on Thu Feb 23 14:56:08 2006