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

Can I set the external property on a repository from svn?

From: Tom Malia <tommalia_at_ttdsinc.com>
Date: 2007-03-08 16:29:54 CET

I'm trying to create batch scripts that will build new repositories for my
projects. In many cases each project needs to have a "canned" setup
external references included. I would like to be able to build as much of
the initial state of the repository as possible prior to actually having to
create any working directories.


For example, let's assume that I already have several repositories for some
vendor products and some internal shared code sets that I use in most of my
new programming projects. So let's say I have the following existing






Now, I want to be able to easily build new repositories for new development
projects that use the code in the two above listed repositories so I want to
do something like:


Svnadmin create c:\scc\TTDSProjects\MyNewProject

svn mkdir file:///c:/scc/test01/MyNewProject/Trunk -mInitializtion

svn mkdir file:///c:/scc/test01/MyNewProject/Branches -mInitializtion

svn mkdir file:///c:/scc/test01/MyNewProject/Tags -mInitializtion


svn propset svn:external Solomon File:///c:/scc/Vendors/Solomon/Versions/55

svn propset svn:external TTDS_LIBS_SchemaManager


How can I do this? It's the external property setting that is giving me
trouble. It tells me I can't perform this operation on a remote repository
but rather have to do it to a working directory. Is this true? Isn't there
some way around this? I'm trying to create a "Canned" initial state for my
repositories to start from.


Thanks in advance,

Tom Malia



Received on Thu Mar 8 16:29:52 2007

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.