Re: SVN repository destroyed, what should I do

Daniel Sahlberg via TortoiseSVN-dev <[email protected]> Wed, 30 Oct 2024 02:07:27 -0700 (PDT)
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
------=_Part_82282_465412374.1730279247840
Content-Type: multipart/alternative; 
	boundary="----=_Part_82283_156686996.1730279247840"

------=_Part_82283_156686996.1730279247840
Content-Type: text/plain; charset="UTF-8"

onsdag 30 oktober 2024 kl. 05:58:28 UTC+1 skrev chi zhang:

The SVN repository is corrupted, but there is a working copy on another 
machine, how do I restore the commit record from the working copy?


Short answer, you can't restore the revision history from the information 
in the working copy - you can only create a new repository with the current 
wc state as the initial revision. Your best bet is to restore a backup of 
the repository.

This question probably fit better on Subversion's mailing list 
[email protected]. Please including any details on how the 
repository is corrupted, including the output from `svnadmin verify 
C:\path\to\repository`. If the corruption is only affecting a certain part 
of the repository, you might be able to dump the unaffected part of the 
repository using `svnadmin dump` and restore at least part of the history.

Kind regards,
Daniel

-- 
You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/tortoisesvn-dev/90a9f51b-07a2-4f7f-a05f-5b5cf3656770n%40googlegroups.com.

------=_Part_82283_156686996.1730279247840
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div dir=3D"auto">onsdag 30 oktober 2024 kl. 05:58:28 UTC+1 skrev chi =
zhang:<br /></div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-le=
ft: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The SVN repository is=
 corrupted, but there is a working copy on another machine, how do I restor=
e the commit record from the working copy?</blockquote><div><br /></div><di=
v>Short answer, you can't restore the revision history from the information=
 in the working copy - you can only create a new repository with the curren=
t wc state as the initial revision. Your best bet is to restore a backup of=
 the repository.</div><div><br /></div><div>This question probably fit bett=
er on Subversion's mailing list [email protected]. Please includi=
ng any details on how the repository is corrupted, including the output fro=
m `svnadmin verify C:\path\to\repository`. If the corruption is only affect=
ing a certain part of the repository, you might be able to dump the unaffec=
ted part of the repository using `svnadmin dump` and restore at least part =
of the history.</div><div><br /></div><div>Kind regards,</div><div>Daniel</=
div><div><br /></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;TortoiseSVN-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">tor=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
tortoisesvn-dev/90a9f51b-07a2-4f7f-a05f-5b5cf3656770n%40googlegroups.com?ut=
m_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/tor=
toisesvn-dev/90a9f51b-07a2-4f7f-a05f-5b5cf3656770n%40googlegroups.com</a>.<=
br />

------=_Part_82283_156686996.1730279247840--

------=_Part_82282_465412374.1730279247840--