On Wednesday 23 February 2005 09:27 am, Tj Warren wrote:
> The name of the external is irrelevant. This is just to keep things
> simple and that we know what headers are common and what headers are
> pulled from the common repo.
Uhhh... no, I think you're misunderstanding how to use svn:externals. Dale
Worley pointed it out. See http://svnbook.red-bean.com/en/1.1/ch07s03.html.
The format for an external reference is a mapping wherein you say map this
external directory to a local directory.
local_dir external_dir
You are trying to set the following:
externals svn://192.168.0.180/svn/linux/bh.1/source/common/common.h
externals svn://192.168.0.180/svn/linux/bh.1/source/common/init.h
...
That says that the local directory "externals" should first point to the
common.h directory and then it should point to the init.h directory. That's
not possible.
You need to do something like:
--snip
#!/bin/sh
svn checkout svn://192.168.0.180/svn/linux/bh.1/source/config
echo "common.h svn://192.168.0.180/svn/linux/bh.1/source/common/common.h"
>prop
echo "init.h svn://192.168.0.180/svn/linux/bh.1/source/common/init.h" >>prop
echo "getline.h svn://192.168.0.180/svn/common/getline.h" >>prop
echo "md5.h svn://192.168.0.180/svn/common/md5.h" >>prop
echo "user.h 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
--snip
-Sean
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 23 17:12:27 2005