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

Re: I miss tags

From: Dominic Anello <danello_at_danky.com>
Date: 2004-09-28 17:30:17 CEST

On 2004-09-28 08:56:13 -0400, Scott Palmer wrote:
----<8----
> If I look at the history of the trunk - do I see the points at which
> the 'tags' or 'labels' were made? If not then I am missing exactly
> what I attempted to achieve - a label on the line of development at a
> certain point in time. Sure, I made a copy at the point in question,
----8<----

Sorry to butt in here, but I'd just like to show that you can get a list
of when each tag was made:

[danello_at_danello2k2]$ svn log -vq --stop-on-copy http://lynx/ec-svn/tags/eCommerce
------------------------------------------------------------------------
r1239 | gread | 2004-04-30 11:48:49 -0400 (Fri, 30 Apr 2004)
Changed paths:
   A /tags/eCommerce/eCommerce-4.2.5.0 (from /branches/eCommerce/eCommerce-4.2.5:1238)
------------------------------------------------------------------------
r1047 | ppaul | 2004-04-13 10:21:53 -0400 (Tue, 13 Apr 2004)
Changed paths:
   A /tags/eCommerce/Eligibility-4.3-CodeFreeze (from /branches/eCommerce/eCommerce-4.3-DEV:1046)
------------------------------------------------------------------------
r666 | sapte | 2004-03-03 10:27:08 -0500 (Wed, 03 Mar 2004)
Changed paths:
   A /tags/eCommerce/Eligibility-1.1.0.0 (from /branches/eCommerce/Eligibility-1.1.0:665)
------------------------------------------------------------------------
r226 | gread | 2004-01-15 15:17:28 -0500 (Thu, 15 Jan 2004)
Changed paths:
   A /tags/eCommerce/eCommerce-4.2.3.0 (from /branches/eCommerce/eCommerce-4.2.3:225)
------------------------------------------------------------------------
r97 | gread | 2003-12-22 11:19:16 -0500 (Mon, 22 Dec 2003)
Changed paths:
   A /tags/eCommerce/eCommerce-4.2.2.0 (from /branches/eCommerce/eCommerce-4.2.2:96)
------------------------------------------------------------------------
r75 | danello | 2003-12-12 11:57:01 -0500 (Fri, 12 Dec 2003)
Changed paths:
   A /tags/eCommerce/eCommerce-4.2.1.0 (from /branches/eCommerce/eCommerce-4.2.1:74)
------------------------------------------------------------------------
...

I know it is not as clean as some hypothetical "svn show-tags /trunk"
command, but it does reveal the revision and date each tag was created
on. Provided you refrain from checking into /tags or you have the
appropriate pre-commit hook, the above command should give consistent
results.

Unfortunately svn's copy pointers only point backward (from destination
to source). I believe this is because tagging all the source nodes
would sacrifice the O(1) property of svn's copies.

Hope this helps until there is some kind of tagging support (although I
personally don't really miss it).

  • application/pgp-signature attachment: stored
Received on Tue Sep 28 17:29:54 2004

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

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