project/
branch/
production/
tag/
trunk/
* In the top of your project trunk, execute the following:
svn propedit svn:externals .
* This will open an editor session. In the file opened by your editor, each line indicates a different external svn repo to pull. The first segment of the line is the directory where you want the pull to exist. The last segment is the svn repo URL to pull. You can have an optional middle argument indicating the revision to use. Some examples:
o Pull framework repo from head:
framework http://framework.zend.com/svn/framework/trunk
o Pull framework repo from revision 2616:
framework -r2616 http://framework.zend.com/svn/framework/trunk
* After saving and exiting, update the repo:
svn up
* Commit changes:
svn commit
One thing to note: any directory you specify for an svn:externals checkout should not already exist in your repository. If it does, you will get an error like the following:
svn: Working copy 'sharedproject' locked
svn: run 'svn cleanup' to remove locks
" weierophinney.net
After that add default username for svn host (because we do not have username of external repository)
- Linux
vi ~/.ssh/config
Host svn.wn.d-o-m.org
User <svnuser>
- Windows - set default username for <svn-host> via putty
No comments:
Post a Comment