开发者

How can I resolve this SVN problem?

开发者 https://www.devze.com 2023-03-29 04:54 出处:网络
On my local machine I have svn set up. I have a theme folder in which I have two themes A and B. I created B by making a copy of A and removing the s开发者_StackOverflow中文版vn directories. I then mo

On my local machine I have svn set up. I have a theme folder in which I have two themes A and B. I created B by making a copy of A and removing the s开发者_StackOverflow中文版vn directories. I then modified B theme. The problem comes when I commit A or B. I get a message saying it needs to be updated, but it updates with the other themes data. What steps should I take to fix this? How can I prevent this from happening again? Thanks.

EDIT: It is possible I forgot to delete one of the svn folders (there are quite a few). If I delete from subversion these 2 themes and then readd them, do you think it will fix it?


Did you remove all SVN directories in the copy, including from sub-directories? If you did, you should be able to Add the B folder.

Generally, instead of copying folders, use SVN's own export function (Tortoise will give you an option in the context menu if you right-click and drag the folder to a new location). It makes sure the copy is 100% clean from any remaining SVN data.


It seems like if you actually did remove the svn folder from B, then you would have had to add the B folder as new files. I think you need to repeat the process, being careful to only copy the source files from A into a new B folder, without any of the SVN baggage. Then add the B folder as new stuff.

0

精彩评论

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