开发者

svn move and local changes

开发者 https://www.devze.com 2023-03-15 02:24 出处:网络
I need to do svn move to rearrange folders in my repo. What happen if I do the svn move while other team members have uncommited changes in their local copy? Will they开发者_如何学运维 lose those loca

I need to do svn move to rearrange folders in my repo. What happen if I do the svn move while other team members have uncommited changes in their local copy? Will they开发者_如何学运维 lose those local changes?

Thank you very much


When they commit, they will be forced to update first. Then they will update, will get a conflict, and will have to resolve it manually.


No, they won't. But trust me, it will be a nightmare if you don't pay attention, Subversion's not at all smart in such situations.

If at all possible, make them commit every change, update your working copy and only then can you start shuffling stuff around without causing much grief.

Do anything else and you're screwed.

I'm assuming you don't have branches, because if you do, the next merge will be painful.

0

精彩评论

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