0

i want to checkout my WebRoot folder content not WebRoot folder itself.

i import my content by

there is two folder in /tmp/easton is src and WebRoot

svn import -m 'import source files' /tmp/easton svn://209.235.175.18/easton/

i try

svn checkout svn://209.235.175.18/easton/WebRoot

but it create WebRoot folder to my easton directory. i want to add the content of webroot folder not itsself folder webroot.

akhtar
  • 1,254
  • 4
  • 13
  • 13
  • Possible duplicate of [SVN checkout the contents of a folder, not the folder itself](http://stackoverflow.com/questions/927806/svn-checkout-the-contents-of-a-folder-not-the-folder-itself) – Christophe Weis Jan 18 '16 at 06:50

4 Answers4

1

To checkout just content of your svn folder, just add a dot at the end of your command:

svn checkout svn://209.235.175.18/easton/WebRoot .

To checkout just content of your svn folder into your local folder:

svn checkout svn://209.235.175.18/easton/WebRoot /home/seval/my_project_folder
svlzx
  • 192
  • 3
  • 11
1

The intention you have does not work. Cause SVN needs a separate directory where to checkout to. so i would suggest to checkout it like the following

svn checkout svn://209.235.175.18/easton/  checkout-folder

This will create the checkout-folder with the contents of easton folder from your repository.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
0

That happens when you omit the PATH part of svn checkout command. Check out (hehe) the manual: http://svnbook.red-bean.com/en/1.0/re04.html

Dialecticus
  • 16,400
  • 7
  • 43
  • 103
0

ya i did by

svn checkout svn://209.235.175.18/easton/WebRoot /var/www/html/easton

akhtar
  • 1,254
  • 4
  • 13
  • 13