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

Re: Newbie ?: sharing code between projects

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-29 23:59:21 CEST

Bill Comisky <bcomisky@pobox.com> writes:

> > There's no need to modify the svn:external value at all. Most of the
> > time you want to track HEAD, right? I'm not understanding why you
> > think it needs to change.
>
> What if I need to time travel back to an earlier revision? My impression
> (maybe from something I read on the mailing list) was that if I didn't
> update the svn:external property, that my checkout of an earlier revision
> would still check out the HEAD of the external.. Is this not true?

Ahhh, I see; if you checkout the meta-project at -r100, you want the
external modules to *also* be at r100.

Well, if you define your external to be just a plain URL, then yes,
every time you run 'svn checkout', or 'svn up' from the top of the
meta-project, it will checkout/update the module to HEAD.

But you can still go into the module and run 'svn up -rX' to backdate
it temporarily. That's the simplest solution.

Or, as you say, you can change the svn:external value (as a local mod)
to temporarily pin the module at a specific revision, and re-run 'svn
up'. This would have the same effect.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 30 00:01:01 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.