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

Re: Format file misbehavior

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-23 02:27:00 CET

On Feb 22, 2007, at 09:42, Robert Staflin wrote:

> When backing up with svnadmin hotcopy, I get the message "svnadmin:
> Can't open the file "File-path\format": The search path cannot be
> found"
>
> The file is there, and have the exact same contents ("5") as a
> repository that works fine on the same machine... Can I delete the
> misbehaving file and make my own format file? ...or is there an
> obvious explanation for this? Why can't the file be found, when
> it's there?

I don't know, and I would have suggested you dump and reload, but:

> If I dump the repository with svnadmin I can't import it afterwards
> (it can't find the format file again)...

You can dump the repo, but not reload it into a new empty repository?
That's odd. Or are you saying you dump the repo, then try to load it
back into the same (non-empty) repo? If so, then that's not how you
would usually use the load command... You should:

svnadmin dump /path/to/repo > /tmp/repo.dump
mv /path/to/repo /path/to/repo-old
svnadmin create /path/to/repo
svnadmin load /path/to/repo < /tmp/repo.dump
rm /tmp/repo.dump

Um... the above would be the commands for a Unix-like OS and I see
now you're on Windows, so you'll have to adapt that to the usual
Windows shell commands, and pick the correct tmp directory, and so
forth.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 23 02:27:28 2007

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.