0

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.

razlebe
  • 7,134
  • 6
  • 42
  • 57
Aakash Sahai
  • 3,935
  • 7
  • 27
  • 41

3 Answers3

4

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

Ian
  • 33,605
  • 26
  • 118
  • 198
  • not working...i didnt commit anything till now.its saying use clean up command but cannot clean as it is c: – Aakash Sahai Feb 01 '11 at 11:35
  • svn revert operation is exactly for restoring pending changes in working copy - adding new directories is also kind of pending change – Dmitry Yudakov Feb 01 '11 at 12:40
0

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

HomeMade
  • 552
  • 4
  • 10
  • 21
  • i can only fynd .svn folder in svn as all other folders are showing not saved thats y all having that blue icon – Aakash Sahai Feb 01 '11 at 11:38
  • remove .svn folder on C:/ and see what happens. it's hidden, so you might have to turn on the option for displaying hidden files and folders. – HomeMade Feb 01 '11 at 13:47
0

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).

Community
  • 1
  • 1
eckes
  • 64,417
  • 29
  • 168
  • 201