Importing older code with revision history to a new SVN repository [duplicate]

為{幸葍}努か 提交于 2019-12-23 06:15:10

问题


I have a code checkout from an SVN repository which is now not working, so original SVN server is now down.

And we have some local changes into SVN which is yet uncommitted.

How can I move the existing code available to us with revision history to the newly created SVN repository?

Any idea would be great to begin!


回答1:


Unlike git, svn doesn't store the complete history with each checked out copy. This means the history is only stored on your not working server. So I'm afraid you have the following options:

  • create a new svn repository based on your local copy and loose the history
  • get the svn server working again and keep the history
  • switch to git (like 1st option) and avoid the problem in the future


来源:https://stackoverflow.com/questions/24523774/importing-older-code-with-revision-history-to-a-new-svn-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!