You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Z W <mp...@gmail.com> on 2013/08/12 09:20:02 UTC
svn checkout - quick question
Hi All
1- Can one simply checkout a few folders in a directory as opposed to check
out everything under a directory ?
We have a folder what we don't want to check out but want to co all other
directories.
2- Once we checkout these directories (except one), we need to svn merge
from another branch into this checkout that we just did. But the other
branch has other directories that we don't want.
Can we still svn merge and then svn revert -R
/path/to/directory/we/dont/want ?
And then ci after the merge (bearing in mind that it has that 1 missing
directory)
Sincerely
AW: svn checkout - quick question
Posted by Markus Schaber <m....@codesys.com>.
Hi, Z W,
Von: Z W [mailto:mpc8250@gmail.com]
> 1- Can one simply checkout a few folders in a directory as opposed to check out everything under a directory?
> We have a folder what we don't want to check out but want to co all other directories.
Yes, that is possible, see http://svnbook.red-bean.com/en/1.8/svn.advanced.sparsedirs.html for more information.
> 2- Once we checkout these directories (except one), we need to svn merge from another branch into this checkout that we just did. But the other branch has other directories that we don't want.
> Can we still svn merge and then svn revert -R /path/to/directory/we/dont/want ?
And then ci after the merge (bearing in mind that it has that 1 missing directory)
You should be able to only merge the pathes you want to merge. See the chapter about merging in the book:
http://svnbook.red-bean.com/en/1.8/svn.branchmerge.html
Sincerely
Best regards
Markus Schaber
CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions
________________________________________
3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50
E-Mail: m.schaber@codesys.com | Web: codesys.com | CODESYS store: store.codesys.com
CODESYS forum: forum.codesys.com
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915