We use Subversion for version control, and we share common code among projects using externals. Any given project looks something like this:
- project/ (svn:externals is set on this directory)
- externals/ (this directory is not checked in; it is specified in svn:externals)
- moduleA/ (this comes from a different repository)
- moduleB/ (this comes from a different repository)
- (other files and directories here)
- externals/ (this directory is not checked in; it is specified in svn:externals)
To clarify, the svn:externals property set on the project/ directory is:
http://svnserver/repository/moduleA externals/moduleA
http://svnserver/repository/moduleB externals/moduleB
I would like to perform svn update
on the project/ directory, but only update the contents of externals/. Is there any way to do that?
Just doing a svn update on the project\externals directory should work; something like:
Subversion allows you to update individual sub-directories