[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Propset and externals

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-02-23 16:00:18 CET

Perhaps because you've instructed Subversion to name all of these externals
"./externals"? One would usually construct an svn:externals property to
look like this:

    dir1 svn://.../dir1
    dir2 svn://.../dir2

Also, it seems like you are trying to insert each file (common.h, init.h,
etc.) individually as an external item. This may not even work (since they
are not directories, and the entries in svn:externals used to be confined to
being only directories), but also it seems inefficient. Why not use

    common svn://192.168.0.180/svn/linux/bh.1/source/common

Dale
  -----Original Message-----
  From: Tj Warren [mailto:tj@sage-inc.com]
  Sent: Wednesday, February 23, 2005 9:47 AM
  To: users@subversion.tigris.org
  Subject: Propset and externals

  I have a batch file >>

  --snip
  #!/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
  --snip

  This creates all the links, but when anyone does a checkout they actually
only get the last extern?

  Any suggestions?

  *note - the path /svn/common/user.h is actually a directory, not a file

  Thanks in advance

  --
  Tj Warren - System Administrator - 806.354.8185 - tj@sage-inc.com -
http://www.sage-inc.com
----------------------------------------------------------------------------

--
Received on Wed Feb 23 16:05:02 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.