You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anders Norman <An...@projectiondesign.com> on 2006/09/14 12:02:40 UTC

externals question/suggestion

In my company, we're developing a common framework and two projects
which use this common framework. I wanted to set up the repository
structure as follows:

/framework
      /trunk
      /tags
      /branches
/project_a
      /trunk
      /tags
      /branches
/project_b
      /trunk
      /tags
      /branches

Both project_a/trunk and project_b/trunk have the property
    externals:
    framework svn://svn/repos/framework/trunk

and this seems to work fine, except when I want to update to an old
revision. The framework in my working copy is updated to the HEAD
revision.

I'm aware that this is indeed the intended behavior, and that one could
use the -r option in the externals property. This would work just fine
if the framework had reached its first stable release (or even its first
alpha) but in my case, the framework is just as immature as both
project_a and project_b so make as many commits to the framework as the
projects. This would require me to manually update the externals
property on every commit to the two projects.

It would be nice if I could set the externals property to something
like:
    externals:
    framework -r%REVISION% svn://svn/repos/framework/trunk

to make the external reference actually fetch the same revision as the
project it's being used by. This would of course require that the
external and the 'externee' reside in the same repository.

Anders

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org