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

Re: how to checkout SVN repository stored in Format 1?

From: Martin Scharrer <martin_at_scharrer-online.de>
Date: 2006-12-08 19:58:22 CET

On Friday 08 December 2006 18:09, gui wrote:
> Hi All
>
> I have two SVN repositories which are in format 1.
> The subversion server I have now is 1.4_01 - using format 3?
>
> When I try to checkout the two format 1 SVN repositories,
> I get the "No repository found in svn://..." error.
>
> What should I do to upgrade the two SVN repositories to
> format 3 so that I can checkout them?
You have to dump the repositories, create new ones and import the dumpfile to
them.

Looks about this way:

cd <repository parent dir>
svnadmin dump <repository> --deltas > dumpfile
mv <repository> <repository>.old
svnadmin create <repository>
svnadmin load <repository> < dumpfile
rm dumpfile

or using a pipe, so you don't have to save the dumpfile to disk

cd <repository parent dir>
mv <repository> <repository>.old
svnadmin create <repository>
svnadmin dump <repository>.old --deltas | svnadmin load <repository>

Here you maybe don't need the '--deltas' option, it only saves space in the
dumpfile. I'm not sure if it's here faster with or without it.

Best,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 11 17:21:53 2006

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.