You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Leandro Lucarella <ll...@mecon.gov.ar> on 2002/09/26 20:37:19 UTC

New subversion repository format?

HI! I don't know if this is the correct list to post this to.
I was using subversion rev 2706 (from a debian package). I upgraded to
rev 3210 (latest debian package) and now my old repositories doesn't
work. I get this error:
$ svn ci 
svn: Error del determinador de nombres desconocido
svn: Commit failed (details follow):
svn: Unable to open an ra_local session to URL
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///var/lib/subversion/he/tronco/src/includes/hooks)

doing a svnlook /var/lib/subversion/he I get this:
svn: Unknown resolver error
svn: Expected version '1' of repository; found no version at all; is
`/var/lib/subversion/he' a valid repository path?
svn: No such file or directory
svn: svn_io_file_open: can't open `/var/lib/subversion/he/format'

Of course I don't have this 'format' file... I've created a new test
repository and the 'format' file with '1' in the contents is there and
works just fine. I don't know why I'm telling this to you since I'm sure
you know it better than me :)
I tried to make a backup and add the file 'format' but I get this error:
$ svn co file:///home/luca/temp/he_root he_prueba
A  he_prueba/tronco
svn: Error del determinador de nombres desconocido
svn: reference to non-existent node `2.1.30' in filesystem
`/home/luca/temp/he_root/db'

So, finally, my question is... Is the format changed or am I dreaming (a
nightmare :( )??? And the most important: is there a way to "import" the
old repository in the new format???

Thanks...

(please Cc me :)

-- 
Leandro Lucarella @ MEcon                       .-----------------------------.
                                               /  Powered by Debian GNU/Linux |
.-----------------------------------------------------------------------------|
|  GPG Key:               http://bal748.mecon.ar/~luca/public_key.gpg         |
|  GPG Key Fingerprint:   716E 4896 93B2 640D 917D  96D8 4B16 3177 C864 D90B  |
`-----------------------------------------------------------------------------'
El mayor número de los males que sufre el hombre proviene del hombre mismo.
		-- Plinio el Jóven. (61-113) Político y escritor latino. 

Re: New subversion repository format?

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Sep 26, 2002 at 03:53:41PM -0500, Ben Collins-Sussman wrote:
>...
> > Yes, there is a way to "import" the old repository in the new format.
> > See the FAQ on the subversion.tigris.org.
> 
> Sorry, I misled cmpilato;  we have no FAQ for this on our FAQ page.

Seems like we probably should?

Especially if Debian (and others) are going to generate further reports like
this from people upgrading across FS schema changes.

Cheers,
-g

p.s. not to mention that we could provide the correct URL ;-)

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: New subversion repository format?

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Sep 26, 2002 at 06:15:53PM -0300, Leandro Lucarella wrote:
> Ben Collins-Sussman, el jueves 26 de septiembre a las 15:53 me escribiste:
>...
> > Sorry, I misled cmpilato;  we have no FAQ for this on our FAQ page.
> > You should look at the the repository_upgrade_HOWTO document in our
> > notes/ area, either in your working copy, or online:
> > 
> >    http://svn.collab.net/repos/svn/trunk/notes/repository_upgrade_HOWTO
> 
> This file desn't exists...

The proper URL is:

  http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO

> > That document talks about older format changes, but the same idea
> > still applies.  You need to dump your repository with an "old"
> > svnadmin, and then reload it with a "new" svnadmin.
> 
> Arrrrhhh.... what happend if I don't have an old svnadmin??? Where can I
> find it? (I mean, besides the svn repository :) I mean, is there some
> "emergency" static version to make the recovery or the only way is to
> download and compile an older revision?

See the downloads area:

  http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260

Specifically, build an svnadmin using this tarball:

  http://subversion.tigris.org/files/documents/15/690/subversion-r2927.tar.gz

Then follow the instructions in the HOWTO listed above.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: New subversion repository format?

Posted by Leandro Lucarella <ll...@mecon.gov.ar>.
Ben Collins-Sussman, el jueves 26 de septiembre a las 15:53 me escribiste:
> cmpilato@collab.net writes:
> 
> > Yes, the format has changed.
> 
> In r3002, I believe.  Or something close to that.  It was announced
> with the new interim release that came right after that.
> 
> > Yes, there is a way to "import" the old repository in the new format.
> > See the FAQ on the subversion.tigris.org.
> 
> Sorry, I misled cmpilato;  we have no FAQ for this on our FAQ page.
> You should look at the the repository_upgrade_HOWTO document in our
> notes/ area, either in your working copy, or online:
> 
>    http://svn.collab.net/repos/svn/trunk/notes/repository_upgrade_HOWTO

This file desn't exists...

> That document talks about older format changes, but the same idea
> still applies.  You need to dump your repository with an "old"
> svnadmin, and then reload it with a "new" svnadmin.

Arrrrhhh.... what happend if I don't have an old svnadmin??? Where can I
find it? (I mean, besides the svn repository :) I mean, is there some
"emergency" static version to make the recovery or the only way is to
download and compile an older revision?

-- 
Leandro Lucarella @ MEcon                       .-----------------------------.
                                               /  Powered by Debian GNU/Linux |
.-----------------------------------------------------------------------------|
|  GPG Key:               http://bal748.mecon.ar/~luca/public_key.gpg         |
|  GPG Key Fingerprint:   716E 4896 93B2 640D 917D  96D8 4B16 3177 C864 D90B  |
`-----------------------------------------------------------------------------'
WIN95 Muy pronto disponible también para Megadrive y Super Nintendo.

Re: New subversion repository format?

Posted by Ben Collins-Sussman <su...@collab.net>.
cmpilato@collab.net writes:

> Yes, the format has changed.

In r3002, I believe.  Or something close to that.  It was announced
with the new interim release that came right after that.

> Yes, there is a way to "import" the old repository in the new format.
> See the FAQ on the subversion.tigris.org.

Sorry, I misled cmpilato;  we have no FAQ for this on our FAQ page.
You should look at the the repository_upgrade_HOWTO document in our
notes/ area, either in your working copy, or online:

   http://svn.collab.net/repos/svn/trunk/notes/repository_upgrade_HOWTO

That document talks about older format changes, but the same idea
still applies.  You need to dump your repository with an "old"
svnadmin, and then reload it with a "new" svnadmin.

This is also covered in the Handbook.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: New subversion repository format?

Posted by Leandro Lucarella <ll...@mecon.gov.ar>.
cmpilato@collab.net, el jueves 26 de septiembre a las 15:43 me escribiste:
> Leandro Lucarella <ll...@mecon.gov.ar> writes:
> 
> > Of course I don't have this 'format' file... I've created a new test
> > repository and the 'format' file with '1' in the contents is there and
> > works just fine. I don't know why I'm telling this to you since I'm sure
> > you know it better than me :)
> > I tried to make a backup and add the file 'format' but I get this error:
> > $ svn co file:///home/luca/temp/he_root he_prueba
> > A  he_prueba/tronco
> > svn: Error del determinador de nombres desconocido
> > svn: reference to non-existent node `2.1.30' in filesystem
> > `/home/luca/temp/he_root/db'
> 
> Part of me wants to reprimand you for even trying that ... but then, I
> have to pause and remember that Unix is the Promised Land of
> Hackability, so I can't really fault you.

I was tring to to make everything possible before making a stupid
question here... :)

> > So, finally, my question is... Is the format changed or am I dreaming (a
> > nightmare :( )??? And the most important: is there a way to "import" the
> > old repository in the new format???
> 
> Yes, the format has changed.
> Yes, there is a way to "import" the old repository in the new format.
> See the FAQ on the subversion.tigris.org.

And all my efforts was useless, of course... :(
The worst thing is I've looked to the FAQs and didn't find it... I was
focused on the 'format' file... I'm sorry.

-- 
Leandro Lucarella @ MEcon                       .-----------------------------.
                                               /  Powered by Debian GNU/Linux |
.-----------------------------------------------------------------------------|
|  GPG Key:               http://bal748.mecon.ar/~luca/public_key.gpg         |
|  GPG Key Fingerprint:   716E 4896 93B2 640D 917D  96D8 4B16 3177 C864 D90B  |
`-----------------------------------------------------------------------------'
La perseverancia refleja siempre el estado de nuestra vida interior, de nuestra
filosofía y de nuestra perspectiva.
		-- David Guterson. 

Re: New subversion repository format?

Posted by cm...@collab.net.
Leandro Lucarella <ll...@mecon.gov.ar> writes:

> Of course I don't have this 'format' file... I've created a new test
> repository and the 'format' file with '1' in the contents is there and
> works just fine. I don't know why I'm telling this to you since I'm sure
> you know it better than me :)
> I tried to make a backup and add the file 'format' but I get this error:
> $ svn co file:///home/luca/temp/he_root he_prueba
> A  he_prueba/tronco
> svn: Error del determinador de nombres desconocido
> svn: reference to non-existent node `2.1.30' in filesystem
> `/home/luca/temp/he_root/db'

Part of me wants to reprimand you for even trying that ... but then, I
have to pause and remember that Unix is the Promised Land of
Hackability, so I can't really fault you.

> So, finally, my question is... Is the format changed or am I dreaming (a
> nightmare :( )??? And the most important: is there a way to "import" the
> old repository in the new format???

Yes, the format has changed.
Yes, there is a way to "import" the old repository in the new format.
See the FAQ on the subversion.tigris.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org