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

problem with svn log on relocated svn directory

From: Christopher Eltschka <christopher.eltschka_at_physik.uni-regensburg.de>
Date: Tue, 22 Apr 2008 10:44:54 +0200

Hello,

after relocating an svn repository, everything seemed to be OK until I
tries svn log. At that time it tried to access the old path (where, of
course, no repository exists). I didn't find anything about this problem
in the FAQ (or did I just overlook it?) and a search on the mailing list
didn't help me either.

Here's the commands I've used to relocate the svn repository (the
directory names are changed, but otherwise it's exactly what I used):

cd /old/svnparent
svnadmin dump svn >/tempdir/svn.dmp
cd /new/svnparent
mkdir svn
svnadmin create svn
svnadmin load svn </tempdir/svn.dmp
cd /path/of/working_copy
svn switch --relocate /old/svnparent/svn /new/svnparent/svn/

Then, after checking that everything worked OK, I deleted the old svn
directory, and everything seemed to be fine until today I tried to do

svn log file.tex

which gave me the following error message:

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///old/svnparent/svn/foo/bar/file.tex'

Of course that doesn't exist. But that was actually the point of
relocating! So why does it try to access the old repository path, and
more importantly, what can I do about it?

Interestingly other commands like svn status and svn diff work quite well.

Thank you for any help.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-22 16:25:07 CEST

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.