Adding New Existing Code To S VN
Adding New Existing Code To S VN
Let's say I have code in the directory ~/local_dir/myNewApp and I want to put it under
'https://svn.host/existing_path/myNewApp' (while being able to ignore some binaries, vendor
libraries etc.).
1.
Create an empty folder in the repo (see below Creating Repo side folders)
Solution
The svn mkdir command can create a directory without a checkout, using the full URL form:
svn mkdir file:///SVN/repo/android/tempo/trunk -m "create trunk directory"
Note that you should not do things like directly create directories or files in your repository directory.
The contents of the repository are managed by Subversion itself and should be considered off limits.
Creating files or directories in there will not make those available through Subversion.
svn mkdir file:///home/user/svnRepo/KeenEdge2 -m create new project folder
svn mkdir file:///home/user/svnRepo/KeenEdge2/trunk -m create new project folder
svn mkdir file:///home/user/svnRepo/KeenEdge2/tags -m create new project folder