You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ilan Yaniv <Il...@timetoknow.org> on 2008/11/24 10:12:25 UTC
upgrade SVN
Hi All,
I have installed VisualSVN, I copied the repository to the new server
and now it works fine under my visualSVN.
Now I want to upgrade the data to work with SVN version 1.5.5
I run the command- svnadmin dump <path to repository\my rep> > dumpfile
Now I run the load command:
Cd into the repository (where the format file is)
Svnadmin load <repo> < dumpfile
I am getting the following error:
D:\SubversionRepository>svnadmin load dev < dev/dev_dumpfile
<<< Started new transaction, based on original revision 1
* adding path : CMS ... done.
* adding path : CMS/branches ... done.
* adding path : CMS/tags ... done.
* adding path : CMS/trunk ... done.
* adding path : LMS ...svnadmin: File already exists: filesystem
'dev/db',
transaction '23099-2', path 'LMS'
What is wrong here ?
Ilan Yaniv
Configuration Management
Phone: 03-7534333 ext. 5873
Ilan.Yaniv@timetoknow.org
Re: upgrade SVN
Posted by Mark Phippard <ma...@gmail.com>.
On Tue, Nov 25, 2008 at 9:06 AM, Ilan Yaniv <Il...@timetoknow.org> wrote:
> I did SVN upgrade to my repository.
>
> VOOOOSH, and I was upgraded. Is it reasonable so fast upgrade from 1.4
> to 1.5?
>
> How would I know that the repository is really 1.5.4 version?
Yes, it only takes a second or less to run.
http://subversion.tigris.org/svn_1.5_releasenotes.html#repos-upgrades
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: upgrade SVN
Posted by Ilan Yaniv <Il...@timetoknow.org>.
I did SVN upgrade to my repository.
VOOOOSH, and I was upgraded. Is it reasonable so fast upgrade from 1.4
to 1.5?
How would I know that the repository is really 1.5.4 version?
Thanks
Ilan Yaniv
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008c@ryandesign.com]
Sent: Monday, November 24, 2008 12:35 PM
To: Ilan Yaniv
Cc: Subversion Users
Subject: Re: upgrade SVN
On Nov 24, 2008, at 04:24, Ilan Yaniv wrote:
> So in this case, I have two repositories, one for ver 1.4.x and
> another
> for ver 1.5.x
>
> Is that true?
Yes, and you would delete the 1.4-format repository, and the
dumpfile, once you're sure the 1.5-format one works.
> Now I have two quite big repositories...
You don't need to dump, create and load. You could use "svnadmin
upgrade" instead.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: upgrade SVN
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 24, 2008, at 04:24, Ilan Yaniv wrote:
> So in this case, I have two repositories, one for ver 1.4.x and
> another
> for ver 1.5.x
>
> Is that true?
Yes, and you would delete the 1.4-format repository, and the
dumpfile, once you're sure the 1.5-format one works.
> Now I have two quite big repositories...
You don't need to dump, create and load. You could use "svnadmin
upgrade" instead.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: upgrade SVN
Posted by Ilan Yaniv <Il...@timetoknow.org>.
So in this case, I have two repositories, one for ver 1.4.x and another
for ver 1.5.x
Is that true?
Now I have two quite big repositories...
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008c@ryandesign.com]
Sent: Monday, November 24, 2008 12:22 PM
To: Ilan Yaniv
Cc: Subversion Users
Subject: Re: upgrade SVN
On Nov 24, 2008, at 04:12, Ilan Yaniv wrote:
> Now I want to upgrade the data to work with SVN version 1.5.5
>
> I run the command- svnadmin dump <path to repository\my rep> >
> dumpfile
>
> Now I run the load command:
>
> Cd into the repository (where the format file is)
>
> Svnadmin load <repo> < dumpfile
>
No, instead you need to create a new repository with svnadmin create,
and load the dumpfile into that.
> I am getting the following error:
>
> D:\SubversionRepository>svnadmin load dev < dev/dev_dumpfile
>
> <<< Started new transaction, based on original revision 1
>
> * adding path : CMS ... done.
>
> * adding path : CMS/branches ... done.
>
> * adding path : CMS/tags ... done.
>
> * adding path : CMS/trunk ... done.
>
> * adding path : LMS ...svnadmin: File already exists:
> filesystem 'dev/db',
>
> transaction '23099-2', path 'LMS'
>
> What is wrong here ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: upgrade SVN
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 24, 2008, at 04:12, Ilan Yaniv wrote:
> Now I want to upgrade the data to work with SVN version 1.5.5
>
> I run the command- svnadmin dump <path to repository\my rep> >
> dumpfile
>
> Now I run the load command:
>
> Cd into the repository (where the format file is)
>
> Svnadmin load <repo> < dumpfile
>
No, instead you need to create a new repository with svnadmin create,
and load the dumpfile into that.
> I am getting the following error:
>
> D:\SubversionRepository>svnadmin load dev < dev/dev_dumpfile
>
> <<< Started new transaction, based on original revision 1
>
> * adding path : CMS ... done.
>
> * adding path : CMS/branches ... done.
>
> * adding path : CMS/tags ... done.
>
> * adding path : CMS/trunk ... done.
>
> * adding path : LMS ...svnadmin: File already exists:
> filesystem 'dev/db',
>
> transaction '23099-2', path 'LMS'
>
> What is wrong here ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: upgrade SVN
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Monday 24 November 2008, Ilan Yaniv wrote:
> Now I want to upgrade the data to work with SVN version 1.5.5
>
> I run the command- svnadmin dump <path to repository\my rep> > dumpfile
>
> Now I run the load command:
> Cd into the repository (where the format file is)
> Svnadmin load <repo> < dumpfile
You're not supposed to 'cd' into the repository. The path given to svnadmin
during dump, load or create should be the same in order to specify the same
repository.
> I am getting the following error:
> D:\SubversionRepository>svnadmin load dev < dev/dev_dumpfile
> <<< Started new transaction, based on original revision 1
> * adding path : CMS ... done.
> * adding path : CMS/branches ... done.
> * adding path : CMS/tags ... done.
> * adding path : CMS/trunk ... done.
> * adding path : LMS ...svnadmin: File already exists: filesystem
> 'dev/db',
> transaction '23099-2', path 'LMS'
>
> What is wrong here ?
It looks like you are loading the dumpfile into an existing repository. You
have to use a new repository instead. In particular, it shouldn't be the
repository you just dumped! You can however move it aside first and then
create a new one in place.
That said, I think there is an "svnadmin update" command which would upgrade
the repository format without requiring a dump/load cycle.
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org