You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by marc <ma...@gmail.com> on 2012/06/13 17:22:50 UTC
How to create a tag from multiple revisions?
Hello,
As the subject says, I want to create a tag consisting of at least 2
different revisions in the trunk.
All revisions concern the same project. Reason is, I have several revisions
in the trunk and I want to exclude some revisions from the tag because the
code in those is not yet production ready.
For example the trunk consists of this:
trunk/
rev333
rev331
rev330
rev229
rev228
I want to create a tag based on rev333 and rev330 but not rev 331 since
that code is not finished yet. Am I able to do this - using subclipse or
tortoise?
Thanks,
Marc
RE: How to create a tag from multiple revisions?
Posted by "Cooke, Mark" <ma...@siemens.com>.
> -----Original Message-----
> From: marc [mailto:marc.at.compass@gmail.com]
> Sent: 13 June 2012 16:23
> To: subversion_users@googlegroups.com
> Subject: How to create a tag from multiple revisions?
>
> Hello,
>
> As the subject says, I want to create a tag consisting of at
> least 2 different revisions in the trunk.
> All revisions concern the same project. Reason is, I have
> several revisions in the trunk and I want to exclude some
> revisions from the tag because the code in those is not yet
> production ready.
>
> For example the trunk consists of this:
>
> trunk/
> rev333
> rev331
> rev330
> rev229
> rev228
>
> I want to create a tag based on rev333 and rev330 but not rev
> 331 since that code is not finished yet. Am I able to do this
> - using subclipse or tortoise?
>
> Thanks,
>
> Marc
>
I believe that you can only create a mixed-revision tag direct from a suitable working copy:-
http://svnbook.red-bean.com/en/1.7/svn.branchmerge.tags.html#svn.branchmerge.tags.mkcomplex
~ mark c
Re: How to create a tag from multiple revisions?
Posted by Les Mikesell <le...@gmail.com>.
On Thu, Jun 14, 2012 at 2:19 AM, Lorenz <lo...@yahoo.com> wrote:
>
> you might want to read
> http://svnbook.red-bean.com/nightly/en/svn.branchmerge.html
>
>
> I would create a release branch from the last stable trunk version
> (330) and merge in the trunk revisions that I want to go in the
> release. Then create the tag from the branch.
Yes, it is normal to want to continue making changes on the trunk that
should not be included in nearby releases, and also to need a place
for final changes before the release, so release branches are a common
workflow. You might also use it for support work after the release.
--
Les Mikesell
lesmikesell@gmail.com
Re: How to create a tag from multiple revisions?
Posted by Lorenz <lo...@yahoo.com>.
marc wrote:
>As the subject says, I want to create a tag consisting of at least 2
>different revisions in the trunk.
>All revisions concern the same project. Reason is, I have several revisions
>in the trunk and I want to exclude some revisions from the tag because the
>code in those is not yet production ready.
>
>For example the trunk consists of this:
>
>trunk/
> rev333
> rev331
> rev330
> rev229
> rev228
>
>I want to create a tag based on rev333 and rev330 but not rev 331 since
>that code is not finished yet.
at first glance I would interpret this diagram as rev### being
subfolders of trunc, but that is not consistent with the rest of the
text.
So assuming you realy mean revisions of trunk:
you either take trunk@330 and merge in (cherry pick) trunk@333,
or take trunk@333 and back out ( reverse-merge) the changes from
trunk@331.
you might want to read
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.html
I would create a release branch from the last stable trunk version
(330) and merge in the trunk revisions that I want to go in the
release. Then create the tag from the branch.
> Am I able to do this - using subclipse or tortoise?
yes 8-)
--
Lorenz
Re: How to create a tag from multiple revisions?
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag marc,
am Mittwoch, 13. Juni 2012 um 17:22 schrieben Sie:
> trunk/
> rev333
> rev331
> rev330
> rev229
> rev228
> I want to create a tag based on rev333 and rev330 but not rev 331 since
> that code is not finished yet. Am I able to do this - using subclipse or
> tortoise?
Depending on your checkout, with Tortoise I would just right click and
hold the button on trunk, move it over the tags folder, release the
button, choose something like "svn copy" and delete the unneeded
folders afterwards. The resulting commit will only have the folders
you want in it.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon.............030-2 1001-310
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow