Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync folders with TortoiseSVN

I'm having some issues using TortoiseSVN/SVN with working folders and the .SVN folder.

Say I have a structure like the following:

trunk/
     src/
     sdk/
     lib/

If I wanted to check out the src folder and sdk folder but NOT the lib folder and I do a checkout on the two folders separately, the .SVN folders will be under both src/ and sdk/.

How, then, would I get the /trunk/ folder itself under source control? If I do a checkout then it will checkout everything including the lib folder, unless I limit the depth, in which case it won't know about any subfolders.

Really what I need is some way to sync folders.

Any suggestions?

Thanks!

like image 224
Jordan Avatar asked Jan 18 '23 13:01

Jordan


1 Answers

  1. Use TortoiseSVN to checkout the parent directory
  2. Select "Fully Recursive" depth
  3. Click "Choose Items" and deselect the folders you don't want checked out
  4. Click OK.

If you already have the parent directory checked out and you want to change the subset of folders that you have checked out, right click your parent folder and select "TortoiseSVN | Update to Revision...". In this window you can select "Choose Items" and deselect the folders you don't want in your working copy any more.

like image 161
Sam Johnson Avatar answered Jan 29 '23 09:01

Sam Johnson