How to switch subversion repository in Visual Studio using AnkhSVN?

后端 未结 7 1527
遇见更好的自我
遇见更好的自我 2020-12-30 09:00

I\'ve been developing a project locally and using a local svn server for versioning in visual studio. I now want to switch to xp-dev hosted versioning but cannot seem to get

7条回答
  •  甜味超标
    2020-12-30 09:24

    Edit: Note that this assumes that you are trying to move to a new repository, dropping all your history, not move a repository. Thinking about it you might want to replace the removing all .svn folders with simply exporting the folder into the newly created workspace for the new repo.

    Not that I know of. I'd probably do this,

    • Remove all the .svn folders from your solution
    • Create a folder for the solution in the new repo,
    • Check it out,
    • Move your current solution into that folder,
    • Load up the solution in Visual Studio
    • Use AnkhSvn to add it again. It should pick up the fact that it's in a subversioned directory and allow you to do that.

提交回复
热议问题