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

Re: tagging subset

From: John Allen <john.allen_at_orbiscom.com>
Date: 2006-02-08 11:43:11 CET

On Tue 07 Feb 2006 12:42, Jérôme Besnard wrote:
> John,
>
> I agree that tagging will be instantaneous. The issue is more with the
> retrivial of the tag. Since I tag everything, getting back to the
> tagged version will require to go back on ALL files (modified) which
> will not be fast since the network is not...
> Plus the fact that I do not want this since I know exactly which files
> are part of the release, and I may be working on other projects which
> are "more advanced" (meaning I want to keep the HEAD version).
>
> The simplest solution would be to separate each project into different
> repositories, but those project share some code, and tagging across
> SVN repositories is not possible.
>

Yes it's not possible with a single command. But you could just tag the main
project and it's dependencies with the same tag.

I have been doing multi-repository project since forever, I tag each
repository separately. When tagging the main project I have a file that
specifies the tags for the dependencies.

The I svn co the main project's tag, then use the file in the tagged revision
to retrieve the dependencies tagged revisions.

You could optimise by keeping a build copy locally, and just svn switching
them to the relevant tags.

> So if I agree that tagging the whole repository is easy, I want to be
> able to automatically switch to a subset of the repository, on demand
> (no IBM buzz here :-) )
>
> On 2/7/06, John Allen <john.allen@classesarecode.net> wrote:
> > On Mon 06 Feb 2006 21:57, Jérôme Besnard wrote:
> > > humpf.... I'll restate this since gmail was not nice with me this time
> > > :-(
> >
> > [snipped]
> >
> > > The easy way is to tag everything (trunk/mathos here) and then switch
> > > back and forth from the release. One of the issue is that the trunk is
> > > huge and the network not very fast...
> > >
> > > Any ideas ?
> >
> > Tag using server URLs. Don't tag locally.
> >
> > svn copy svn://.../main svn://.../tags/tagname
> >
> > This will be virtually instantaneous.
> >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> > --
> > John Allen mailto:john.allen@classesarecode.net
> > Classes Are Code http://www.classesarecode.net
> >
> > Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-12mdksmp
> > 11:43:40 up 23:46, 5 users, load average: 0.06, 0.19, 0.25
> >
> > ---------------------------------------------------------------------
> > 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

-- 
John Allen,                          mailto:john.allen@orbiscom.com
Orbiscom Ltd,                        http://www.orbiscom.com
Block 1, 
Blackrock Business Park, 
Carysfort Avenue, 
Blackrock, 
Co. Dublin,
Ireland. 
Tel: +353-1-217.8603
Fax: +353-1-294.5119
Mobile: +353-085-1295486
Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-12mdksmp
 10:39:22 up 1 day, 22:42,  6 users,  load average: 1.30, 0.73, 0.53
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 8 11:45:19 2006

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