i am working on svn project and i am totally newbie.i am learning SVN from tutorialspoint. i have create repository successfully. and created directories for trunk, branches and tags using following commands
mkdir /tmp/svn-template
mkdir /tmp/svn-template/trunk
mkdir /tmp/svn-template/branches
mkdir /tmp/svn-template/tags
now i want to import that dir to my repository using following command
svn import -m 'Create trunk, branches, tags directory structure' /tmp/svn-template/
but it gives me an error " svn: E205000: Try 'svn help' for more info svn: E205000: Invalid URL '/root/tmp/svn-template' "
please help me guys
You forgot to specify the last argument, your repository URL.
For example:
svn import -m 'Create ...' /tmp/svn-template/ http://svn.myserver.com/repo/svn-template/
Be aware that your local copy will not be under version control after that. You must make a checkout of a working copy in another directory.
cd /somewhere/else
svn checkout http://svn.myserver.com/repo/svn-template/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With