如何回滚到以前的版本?那么我的文件又回到了400版?
答案 0 :(得分:5)
怎么样:
svn merge -r [current_version]:[previous_version] [repository_url]
svn commit -m “Reverting previous commit and going back to revision [previous_version].”
取自http://mybravenewworld.wordpress.com/2007/11/13/subversion-how-to-revert-a-bad-commit/
答案 1 :(得分:2)
svn update -r 400
答案 2 :(得分:0)
运行以下命令:
svn -r rev-no up file-name