3

I'm using VisualSVN Server and TortoiseSVN as the client.

I have an existing Visual Studio project that was already checked into an existing repo. The guy who initially set it up did it a little funky so that he checked in all the files in the root level of the repository. So alongside all my project folders, I have the /trunk, /tags and /branches folders, all of which are empty.

What would be the best way to move everything into the /trunk folder in the repo AND have it so that I don't have any of those three folders actually visible in my working copy?

I have files in my working copy that I don't want to check in just yet as they aren't complete, so I'd really prefer to do this without having to first check everything in if possible. If not possible, then I'll just hold off on doing it until I'm ready to check everything in.

Can I just right-click drag the folders into the trunk folder and then under TortoiseSVN, select move? That would still leave me with at least the /trunk folder on my local disk though.

merk
  • 283
  • 1
  • 4
  • 10

1 Answers1

5

Version 1 (server-side move)

  • svn move REPO-URL/DIR REPO-URL/trunk/DIR for all and any mispaced folder

  • svn relocate REPO-URL REPO-URL/trunk/ (TBT!!!) also read svn help relocate before using command.

  • svn up

Version 2 (client-side move)

  • Inside your WC, which is (?) WC of repository-root, move all your project's folders inside trunk folder (Use TortoiseSVN Move - RClick and Drag),
  • Commit results,
  • Checkout a new working copy into new location from REPO/trunk,
  • Delete 1-st Working Copy (the one you checked out from the root of the repo).
Lazy Badger
  • 3,714