SVN repository destroyed, what should I do

29 views
Skip to first unread message

chi zhang

unread,
Oct 30, 2024, 12:58:28 AM10/30/24
to TortoiseSVN-dev
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?

Daniel Sahlberg

unread,
Oct 30, 2024, 5:07:28 AM10/30/24
to TortoiseSVN-dev
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 us...@subversion.apache.org. 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

Reply all
Reply to author
Forward
0 new messages