Reputation: 1
I have a SVN
server in linux, and Currently a project named “repos” is created and all new projects are added as sub-directories of “repos” project.
I create a new sub-directory with this command:
mkdir Newproject
svn --username abc import NewProject http://192.168.0.86/repos/Newproject -m "Initial import".
Now I want to create a trunk, branches and tag folders under the Newproject folder.
Can any one help me with the code to create these folder.
Thanks in Advance.
Upvotes: 0
Views: 379
Reputation: 28144
There's no "code". This is basic SVN command usage which is explained very well in the manual http://svnbook.org/
There's absolutely nothing special about these directories as far as Subversion is concerned - it's a naming convention. You could call trunk
, branches
and tags
Larry
, Darryl
and OtherBrotherDarryl
and SVN wouldn't care - what matters is that your users understand what they mean.
You can create your directories in two ways:
svn mkdir URL_TO_DIRECTORY
svn add
them, then svn commit
them.Upvotes: 2