开发者

I accidentally added C:/ to my svn repository. What can I do?

开发者 https://www.devze.com 2023-02-07 17:21 出处:网络
By mistake i had added c:/ to our SVN repository. How can i remove whole c: from that repository as i cant delete whole c:?

By mistake i had added c:/ to our SVN repository.

How can i remove whole c: from that repository as i cant delete whole c:?

My svn repository is in开发者_运维知识库 the d:/SVN folder.

Please provide a tested and correct method to resolve the issue. I'm also using Tortoise.


Can you not just revert to a version prior to your checkin, and re-checkin as the head?


Try removing all .svn folders on C:, except those in the folders you'd wish to keep in repository


To get rid of the icons, search for folders called .svn on drive C:/ and simply remove them. Since you didn't add anything to the working copy, there should only be one folder, directly under C:/.

If you get the message that the .svn folder cannot be deleted because it is being used, see this answer for an advise how to disable the Tortoise refresh temporarily.

If there are more .svn directories under C:/, remove all of them (as long as you're absolutely sure that these aren't inside a working copy).

0

精彩评论

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