I upgrade to 0.37 on my client machine a day or two ago and I did
commits fine.
Then today I decide I should upgrade the server where my repo is
located.
I got:
Expected version '3' of repository; found version '2'
When I tried a commit from my client machine after the upgrade.
Oh great, so I check the changelogs which tells to check the NEWS:
** 0.35.1-1 : dump/reload required
What does that mean I wonder? I was running 0.34 before...
Anyway, after reading :
http://dabase.com/doc/subversion/book/book.html#svn-ch-5-sect-3.4
http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO
It seems I have to dump with the older version of svn. Great! How do I
get an old version of svn back on my box? A force downgrade, but where
can I find the 0.34 .deb?
Then I remember I have a previous night's rsync backup of the repo at school,
which still runs 0.34. I can dump it there I think.
hendry@bogrund-17:~/dump$ svnadmin dump /home/fs/hendry/backups/backup-repo/ > dumpfile
svn: Unsupported repository version
svn: Expected version '3' of repository; found version '2'
hendry@bogrund-17:~/dump$ svn --version
svn, version 0.34.0 (r7859)
compiled Dec 9 2003, 17:15:00
Er... how can that be? Have I screwed up my repo by committing with a 0.37 client?
Back on my server (where my repo is located):
hendry@bilbo:~$ cp -r repo/ backuprepotest
hendry@bilbo:~$ svnadmin recover backuprepotest/
Please wait; recovering the repository may take some time...
svn: Expected version '3' of repository; found version '2'
hendry@bilbo:~$ svnadmin recover backuprepotest
Please wait; recovering the repository may take some time...
svn: Expected version '3' of repository; found version '2'
hendry@bilbo:~$ svn --version
svn, version 0.37.0 (r8509)
compiled Feb 2 2004, 00:26:09
Help.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 4 12:41:33 2004