Search code examples
svntortoisesvnvisualsvn-servervisualsvn

How to move all source code over when it was on VisualSVN Server on Vista and migrating to Windows 7?


I had VisualSVN Server running perfectly on a Windows Vista machine, and then now it is to run Windows 7 on that same machine (installed on a new partition).

So now all the source code are in the repository on D: drive (it used to be on C:)

(Windows 7 will be C:, and the Vista will now become D:)

Can we just copy the D:\Repositories over as C:\Repositories, and then install VisualSVN Server on Windows 7 again and let it use C:\Repositories, and then all source code, all history (the diff and comment) will be available again?


Solution

  • I'd say give it a shot, but take an svnadmin dump of the repository before doing so. If things don't work (try svnadmin verify, update a working copy on a different box, check the log history), then go down the usual path of svnadmin dump, create, load.

    So long as the URL isn't changing, i.e. the server name stays the same, clients won't need to relocate their working copy.