Hello all -
I have two repos
/svn/common/ and
/svn/linux/
I have requirements that when a user checks out say /linux/foo/bar/foo1
he receives /common/bar/.
I understand setting up externals to the point where I can do it
manually. But I have a large project and I have a batch file created
that should generate externals for different directories in the repo and
link them to the directories from /common.
Here is a bit of the batch file - it is quite large, so here is just a
section where all the sections are generally the same except for the
different directories and such
#!/bin/sh
svn checkout svn://192.168.0.180/svn/linux/bh.1/source/config
echo "externals
svn://192.168.0.180/svn/linux/bh.1/source/common/common.h" >prop
echo "externals svn://192.168.0.180/svn/linux/bh.1/source/common/init.h"
>>prop
echo "externals svn://192.168.0.180/svn/common/getline.h" >>prop
echo "externals svn://192.168.0.180/svn/common/md5.h" >>prop
echo "externals svn://192.168.0.180/svn/common/user.h" >>prop
svn propset svn:externals -F prop config
svn commit config -m "externals"
rm config -rf
The problem is that this batch file is only creating the external from
the last echo from this statement. Is this a problem with this batch
file? or is it a problem with the way propset works?
--
Tj Warren - System Administrator - 806.354.8185 - tj@sage-inc.com -
http://www.sage-inc.com
------------------------------------------------------------------------
Received on Fri Feb 18 20:52:13 2005