tcraig
Member
Is this the appropriate procedure to update an "external" version,
check it in, then use it.
> svn co $SVNREPO/cam1/trunk mycam
> cd mycam/models
> svn propget svn:externals
> edit SVN_EXTERNAL_DIRECTORIES
> svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES
> svn propget svn:externals
> cd ..
> svn commit -m "updated external versions"
> cd ..
> svn co $SVNREPO/cam1/trunk mycam_new
To summarize
- check out model
- go to directory with SVN_EXTERNAL_DIRECTORIES
- check the external property with propget
- edit SVN_EXTERNAL_DIRECTORIES, change the path
- set the external property with propset
- check that the external property has changed with propget
- cd to the head of the model
- commit the changes
- check out the updated version, verify the externals are updated
as expected.
One final clarification. "svn update" does not seem to update externals
after changing the SVN_EXTERNALS_DIRECTORIES. The only way to
verify externals are set correctly is to check the code out fresh, is that
correct?
tony....
check it in, then use it.
> svn co $SVNREPO/cam1/trunk mycam
> cd mycam/models
> svn propget svn:externals
> edit SVN_EXTERNAL_DIRECTORIES
> svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES
> svn propget svn:externals
> cd ..
> svn commit -m "updated external versions"
> cd ..
> svn co $SVNREPO/cam1/trunk mycam_new
To summarize
- check out model
- go to directory with SVN_EXTERNAL_DIRECTORIES
- check the external property with propget
- edit SVN_EXTERNAL_DIRECTORIES, change the path
- set the external property with propset
- check that the external property has changed with propget
- cd to the head of the model
- commit the changes
- check out the updated version, verify the externals are updated
as expected.
One final clarification. "svn update" does not seem to update externals
after changing the SVN_EXTERNALS_DIRECTORIES. The only way to
verify externals are set correctly is to check the code out fresh, is that
correct?
tony....