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

Re: svn:externals

From: <cmpilato_at_collab.net>
Date: 2003-04-24 18:37:49 CEST

"SteveKing" <steveking@gmx.ch> writes:

> > > I just noticed something while doing a checkout
> > > with svn:externals: the external repository is always
> > > checked out from HEAD. I don't think this is a good
> > > behaviour.
> >
> > And ... I don't think its the actual behavior. Have you tried using
> > the '-r' flag in your externals definitions?
> >
> > ext_wc -r 231 http://svn.example.com/repos/ext_repo/trunk
>
> Ooops. Sorry. Took a while for me to understand what
> you mean. Is that documented somewhere that the property
> itself can have a revision number? Haven't found it in the book.

Hm... it appears that I didn't provide an example of that in the
book. (Making a note to myself now).

> If that works then would it be possible to add a revision number to
> that property on a copy command? Something like an additional flag
> for the svn_client_copy() command?

Ah... now I understand what you want. You want to be able to tag your
project and have it automatically thumbtack-down the revisions of any
externals hanging off of it.

Well, this definitely won't happen for you right now. My only
suggestion would be to never track HEAD in an external, either peg
trunk revisions or use immutable paths (like tags of the external
project).

(I say this as a substitute for "svn:externals sucks as a
not-fully-thought-out hack with a nod toward CVS modules". But don't
quote me on that.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 18:42:02 2003

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