I've decided that modifying files directly in notepad is probably dangerous and it was about time to have some proper source control (I am quite new to source control). I have installed VisualSVN server on my server and TortoiseSVN on my client machine. I can create new folders fine, check them our etc. However, on my server, I have an existing folder structure in place for IIS and there are links based on this location everywhere. How can I make the entire folder work with SVN without moving the files?
相关问题
- How can I set the SVN password with Emacs 23.1 bui
- If statements in .htaccess files, to enable passwo
- SVN+SSH checkout over VPN using tortoise SVN, Smar
- Mercurial compared to private branches in SVN
- Using Subversion and SourceSafe at the same time?
相关文章
- Is there a version control system abstraction for
- Intermittent “SVNException: svn: E175002: Connecti
- IntelliJ Subversion Authentication Required Dialog
- TortoiseHG and hgsubversion (Windows): “no module
- Incompatible JavaHl library loaded
- TFS vs. JIRA/Bamboo/SVN [closed]
- converting svn repo to git using reposurgeon
- SVN查看日志超时
I would also add a step between 3 and 4:
3.5. Ignore the automatically generated files (context menu command Add to ignore list...)
An even simpler way than Robert's Answer (although lifting from it):
Open the repository browser of TortoiseSVN and create a new directory for the project you want to check-in.
Check-out this newly created empty directory from SVN as the directory you are wanting to add (ignore the warning about checking out into a non-empty directory).
Execute 'SVN Commit...' on the directory you are wanting to commit, selecting the files you want to add from the commit window.
You can do what the others above have mentioned, however, if you wish to just use what you have instead of adding and committing, you can simply fool SVNServe.
For this example our existing repo is "TEST_REPO"
Go to your command line.
Create a new directory called "new". CD into it.
In our "new" directory run the following:
Now you will have a repo in the "TEST_REPO" directory.
Run:
(rd to remove directories if needed, sorry, not a windows person)
Now, move the files from your existing "TEST_REPO" into the "C:\new\TEST_REPO\" folder. Then run:
You should see SVN verify all of the source in your repository. Easy peasy.
There is a simple solution for checking in an existing directory structure:
.svn
directory into the root directory of your project. This enables the context menues from TortoiseSVN for all files and sub-folders.