8

just changed over form visualsvn to AnkhSVN. Loving it... but i need to add files and directory that are on my disk to SVN ... but the files and directory are not part the solutions (Vs2010) ... Its basically i directory where i store some dlls but if the directory is not present then i have missing references.

Is this possible?

Martin
  • 23,844
  • 55
  • 201
  • 327

3 Answers3

13

You can either use "Show all files" in the solution explorer to reveal the files and add them, or use View -> Working Copy Explorer. Both solutions work in AnkhSVN.

Sander Rijken
  • 21,376
  • 3
  • 61
  • 85
  • hey thanks for the info! Although i didn't figure out once i do view, working copy explorer - how is it possible to add additional directories or files that are not in the solution?? – Martin Oct 24 '10 at 11:45
  • Right-click and add? Or are they directories that aren't within a working copy, and you want to create a new working copy there? – Sander Rijken Oct 25 '10 at 07:13
  • Working Copy Explorer - can only be used to Explore and Add items already connected to svn. you cannot add **non svn** items using it. – Ujjwal Singh Jun 30 '12 at 13:07
  • 1
    @UjjwalSingh I have successfully added non svn items with this answer, so this is the correct one. – sw. Dec 13 '13 at 21:16
1

Not from Ankh AFAIK. Get them in through Tortoise or the command line and you should be fine.

Otávio Décio
  • 73,752
  • 17
  • 161
  • 228
  • Thanks, yep still have tortoisesvn installed... will do that.. thanks again – Martin Oct 22 '10 at 11:51
  • Yes - though AnkhSVN supports Multiple "Working Sets" it can not be used to add non-svn items not under the solution directory. non solution-directory svn-items can be added as per @Sander's answer. for non-svn items You will have to add the external directory that contains these files externally using tortoisesvn. Now when you restart the IDE it should take it from there. – Ujjwal Singh Jun 30 '12 at 13:11
0

View Menu -> Working Copy Explorer -> navigate to your new file/directory -> right click and select "Subversion" -> then click "Add".

Diallo
  • 109
  • 1
  • 9