Reputation: 8944
In my my SVN repository, I'm trying to create tags/branches/trunk.
SVN1:/SVN/repo/android$ svnadmin create tempo
SVN1:/SVN/repo/android/tempo$ svn mkdir trunk
svn: '.' is not a working copy
I can't get rid of this error. I can create a folder by doing mkdir trunk
, but is this the same?
Upvotes: 2
Views: 2713
Reputation: 993461
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.
Upvotes: 11