I have an svn repository on my dedicated server (Centos 5.5) at /var/svn/myRepository. I just want to copy those files into my production folder /var/www/myWebapp.
As far as I am understanding SVN I could only use svn export on my local project folder which has all the sourcecode and additional .svn files. But on my dedicated Server I just have the repository. How can I get the sourcecodefiles, without those .svn files out of that repository into my /var/www/myWeapp folder?
Check out files from Subversion repositoryIn the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.
There is only one . svn folder, located in the base of the working copy. If you are using 1.7, then just deleting the . svn folder and its contents is an easy solution (regardless of using TortoiseSVN or command line tools).
the only . svn folder is in the root folder now, and this contains all of the info for the checkout. You should now be able to simply copy the folder and check it in.
No. You don't need a working copy to do a svn export
.
Just do:
$ cd /var/www/myWebapp
$ svn export URL
You should get a clean copy of HEAD
into /var/www/myWebapp
.
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