Russ,
Have you tried using svn:externals to point to the cebu location? This works even if they are in two different repositories.
Check out http://svnbook.red-bean.com/en/1.1/ch07s04.html
Dale
-----Original Message-----
From: Russ Lewis [mailto:webmaster@villagersonline.com]
Sent: Friday, August 19, 2005 10:13 AM
To: users@subversion.tigris.org
Subject: Automatic switch of a directory?
I find myself using "svn switch" as a very handy way to bring certain
code libraries or utilities into my other projects. For instance, I
have a tool (tracked by SVN) called "dfront" which references another
tool, "cebu." What I would do is to create a dummy directory
dfront/cebu, which just contains a text file that says "remember to svn
switch this directory to cebu". Very cool.
However, I'm now finding myself wanting this to happen automatically
when I check out dfront. That is, I would like to be able to set a
special property or something such that each time I check out "dfront",
it automatically svn switches the "cebu" directory to the right SVN source.
Q1: Is there already some trick to do this that I don't know about?
Perhaps a way to automatically run a certain script when a directory is
checked out? (Yes, I know that that would be problematic if you're
mixing Windows and Unix boxen.)
Q2: Any thoughts about whether this is a desirable feature in general?
Do other people do things like this? If this was automated, what would
happen if you accidentally created a loop of automatic SVN switching?
Russ Lewis
New (and avid) SVN user
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 19 19:46:24 2005