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

RE: Rescuing a repository

From: Jan Evert van Grootheest <j.grootheest_at_euronext.nl>
Date: 2004-05-14 15:19:47 CEST

Marc,

I'm sorry, but I don't know how to get you out of that one.
In all honesty I don't know whether 336 will be empty or whether it will
renumber. I think it will not renumber and there'll be a hole.
If I remember correctly, the revision numbers are in the dumpfile.

Perhaps you should simply try it? Since you have the dump you can always
remove the result and try something else.

-- Jan Evert

> -----Original Message-----
> From: Marc Haisenko [SMTP:haisenko@webport.de]
> Sent: Friday, May 14, 2004 3:26 PM
> To: Jan Evert van Grootheest; users@subversion.tigris.org;
> dev@subversion.tigris.org
> Subject: Re: Rescuing a repository
>
> On Friday 14 May 2004 14:14, Jan Evert van Grootheest wrote:
> > Marc,
> >
> > Exactly!
> > It would get you a working repository on short term, I think.
> >
> > This is a bit theoretical. I'm sure one of the svn developers will
> correct
> > me if I'm wrong...
> >
> > If you svnadmin dump then it starts off with the first revision being
> > dumped completely (check the documentation on --incremental!). As such,
> > revision 337 should contain those images!
> > It doesn't say it with that many words, but --incremental skips the
> > complete dump of the first revision instead dumping only the delta. That
> > forces the user to first load a previous dump as a starting point.
> >
> > Of course, if dumping 337 needs 336 you're still toasted.
> >
> > As to loading it... I wouldn't be surprised if you could just load both
> and
> > get a hole at 336.
> > Just try svnadmin load.
> >
> > -- Jan Evert
>
> Ah, but I discovered a little problem: our versions are in fact SVN
> repository
> revisions, so if one revision is left out in this process then all
> following
> revisions are one off, e.g. what's now revision 500 would then be revision
>
> 499... so the question would then be how to insert a revision in the
> process.
>
> I thought it could work like this:
> # svnadmin load /export/svnrepository-new < dump.0:335
> # svn co file://export/svnrepository-new myworkingcopy
> # cd myworkingcopy
> # touch .dummy
> # svn add .dummy
> # commit -m "A dummy revision"
> Blabla, revision 336 committed.
> # svnadmin load /export/svnrepository-new < dump.incremental.337:HEAD
>
> But I think this would work, as the then inserted 336 would have a newer
> date
> than the following 337, doesn't it ?
>
> C'ya,
> Marc
>
> --
> Marc Haisenko
> Systemspezialist
> Webport IT-Services GmbH
> mailto: haisenko@webport.de
 

 === E U R O N E X T - D I S C L A I M E R =============================

 This e-mail and its attachments are only intended for the individual(s) or
entity(entities) named above to whom they are addressed and may contain
personal and/or confidential information. Please notify us immediately if
you are not the intended recipient. Any dissemination, duplication,
publication to third parties or other use of the contents of this e-mail or
its attachments is forbidden. Although this information has been compiled
with great care, neither Euronext N.V. nor its subsidiaries shall accept any
responsibility for any errors, omissions or other inaccuracies in this
information or for the consequences thereof, nor shall it be bound in any
way by the contents of this e-mail or its attachments. In the event of
incomplete or incorrect transmission please return the e-mail to the sender.

 Cet e-mail et ses annexes sont uniquement destinés à la (aux) personne(s),
ou à l' (aux) entité(s) à laquelle (auxquelle(s)) il est adressé, visée (s)
en tête du présent message. Il peut contenir des informations personnelles
ou confidentielles. Merci de nous notifier immédiatement si cet e-mail vous
a été adressé par erreur. Toute diffusion, copie, publication à des tiers ou
toute autre utilisation de son contenu est interdite. Bien que cette
information ait été rassemblée avec une grande attention, ni Euronext N.V.
ni aucune de ses filiales, ne peut être tenue responsable des erreurs,
omissions ou inexactitudes contenues dans cette information, ni ne peut être
liée d'aucune manière par le contenu de cet e-mail ou ses annexes. En cas de
transmission incorrecte ou incomplète, nous vous prions de retourner cet
e-mail à son émetteur.

 Deze e-mail en zijn bijlagen zijn uitsluitend bestemd voor de
geadresseerde(n) als op dit e-mailblad vermeld. Het is mogelijk dat deze
e-mail persoonlijke en/of vertrouwelijke informatie bevat. Wanneer u niet de
geadresseerde bent, verzoeken wij u dringend ons daarvan te berichten. Elke
verspreiding, vermenigvuldiging, gebruik of openbaarmaking aan derden van de
inhoud van deze e-mail en zijn bijlagen, is verboden. Hoewel deze informatie
met de meeste zorg is samengesteld is Euronext N.V., en de tot Euronext N.V.
behorende werkmaatschappijen, op geen enkele wijze aansprakelijk voor
eventuele fouten, omissies of andere onjuistheden in deze informatie of de
gevolgen daarvan noch op enigerlei wijze gebonden aan de inhoud van de
e-mail of zijn bijlagen. Gelieve, in geval van onjuiste of onvolledige
ontvangst, deze e-mail terug te sturen naar de afzender.

 ================================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 15 05:26:46 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.