Search code examples
svnrepositorytortoisesvnsvn-repositorysubversion-edge

Create new SVN repository from checkout code (from dead SVN repo)


I have checkout code from svn the repository was remote and is dead now, can I use it to create new SVN repository with history?

If yes, how can I do it?

If no, what are the other best way to handle this kind of situation?

Thanks in advance.


Solution

  • As @Thilo already mentioned,

    An SVN checkout does not contain the history. The best you can hope for is a consistent, complete, somewhat recent snapshot of the latest state of the trunk.

    In order to create a new repository with the same history as the old one, you must have the working backup of the broken repository. You know what Subversion server package is installed on the remote location (the question is tagged with ), so I guess that you have access to the remote location. Search for the repository backup in such case.

    It's unclear what you mean by "dead SVN repo", BTW. If a repository is corrupted (i.e. fails on svnadmin verify) then you can restore it partially (or even repair it). However, if you completely lost access to the repository and have no backup then you are out of luck.