Can I use the existing file system as subversion repository?
May 7, 2009 1:27 PM
Subscribe
Can I checkout the files to the same folder I imported them from using subversion? Or do I need a new location for the checkout?
I asked a similar question some time back. This here is slightly different.
I understand better now that with Subversion I make a repository, and then you import the folders/files which I want to keep under revision control into that freshly made repository. I can then toss the originals after ensuring the import was successful. Then I check out the project from the repository into what is called a working repository. Ok. Good.
However, I have current projects in a very nice folder system and I really don't want to have to reshuffle everything. As I understand it, I can import these projects into a repository, and when I check them out I use a new location on my computer. But I want to retain the existing structure!
Would I import, then toss the files from the current folder they were in, then checkout to that same, but now empty, folder? Am I missing anything?
posted by steppe to computers & internet (7 comments total)
I usually save the folder (just rename it folder.bak) and then checkout. Also generally when importing a new project I usually have trunk/ tags/ branches/ folders with my project in the trunk directory (the other two are empty) I then check out the contents of the trunk folder.
This makes tagging and branching easier later on.
posted by bitdamaged at 1:36 PM on May 7 [1 favorite]