开发者

My code was rolled back by the CM, the next step?

开发者 https://www.devze.com 2023-03-29 06:20 出处:网络
Our Configuration Manager thinks that my last check in broke the build and rolled back bunch of files I had checked in.After I ether fix it or show that the breakage wasn\'t caused by me, what is the

Our Configuration Manager thinks that my last check in broke the build and rolled back bunch of files I had checked in. After I ether fix it or show that the breakage wasn't caused by me, what is the right way to get my开发者_开发知识库 code back into SubVersion?

Do I do an svn update and re-check in the code or something with SVN commands to go back to the version I had originally checked in?


No, it is not necessary to re-check in the files. You can go back to the revision you had committed by:

$ svn merge --revision HEAD:xxx

where xxx is the revision with your last changes.

0

精彩评论

暂无评论...
验证码 换一张
取 消