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

Re: subversion module system question

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-05-22 00:05:23 CEST

On Tue, May 21, 2002 at 04:31:16PM -0500, Karl Fogel wrote:
> Greg Stein <gstein@lyra.org> writes:
> > How does a module target a specific revision?
> >
> > 1) copy the rev/path, and include the copy into the module
> > or
> > 2) the module file specifies dir, URL, and revision
>
> The latter :-).
>
> (I'm not actually sure what (1) means...)

$ svn cp -r 1000 /trunk /module-snaps/rev1000
$ svn propedit /modules/mutha
(add line:
  /somelib /module-snaps/rev1000/foo/somelib
)
$ svn commit /modules/motha

IOW, to pin a particular revision for containment within the module, you
make a copy to somewhere, and then refer to the (pinned) copy.

That is called a "user strategy" and is Badness(tm).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 22 00:03:29 2002

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.