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

svn:externals: Specifying an individual file

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2004-08-12 19:20:42 CEST

Hi,

I've just spent a while experimenting with svn:externals, and after a
while scratching my head, I finally figured out that the "fully
qualified, absolute Subversion repository URLs" referred to at
http://svnbook.red-bean.com/svnbook/ch07s03.html must be to a URL of a
directory, and not a file (otherwise you get "svn: Attempted to create
entry in non-directory parent").

Can I suggest one of two things? Either
(a) update the documentation to make it clear that the URL is that of
a directory, or
(b) (my preference) update the code such that you can specify a
specific file as well as a directory.

My original plan was to refer to a single file (e.g. classes12.zip)
instead. This would have allowed me to keep, e.g. classes102.zip,
classes111.zip, classes12.zip, swingall.jar, etc. all in the same
directory in the repository, and allow each project to refer to the
particular JAR/ZIP/etc. file that it needed.

Or have I missed something in the way this is supposed to be used?

Thanks,

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 12 19:21:10 2004

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