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

Re: FW: Re: Seeing if a file is part of a tag

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-09-28 09:23:41 CEST

Ed,

> -----Original Message-----
> From: Ed Hillmann [mailto:edhillmann@yahoo.com]
> Sent: woensdag 28 september 2005 0:13
> To: kfogel@collab.net; Ryan Schmidt
> Cc: Ed Hillmann; List Subversion
> Subject: Re: Seeing if a file is part of a tag
>
> That's the use case! :)
>
> As I mentioned in a previous email, we're looking to see if the
> equivalent functionality from cvs is possible in svn. In that, we want
> to see what revisions of a file was included in various tags.
>
> As Karl alludes, it's not always just finding the different copies of
> the trunk, as tags are taken off of branches as well.
>
> But it is for the purpose of seeing if released code (denoted via a tag)
> contains a specific revision of a file, to determine if released code
> has or has not known problems.
>
> Karl said it better.
>
> It sounds like it doesn't have it, and we can live with that. I was
> just attempting to make sure that there wasn't a way of getting at this
> information easily, and I just wasn't aware.
>

Ed,

One possible workaround which might give you just the information you need
is to use the 'log multiple branches' feature.

We use this to see for a certain branch when it was tagged and which
revisions are included in which tag.

Our situation:
/branches/maint1.0
/tags/builds/maint1.0_build1
     /builds/maint1.0_build2
     /builds/maint1.0_build3

The log command looks like this:

svn log http://x.y.z/svn/repo branches/maint1.0 tags/builds

The result will be the union of the log of branches/maint1.0 and all tags:

------------------------------------------------------------------------
r617 | ttttttt | 2005-09-27 10:15:40 +0200 (di, 27 sep 2005) | 1 line

Tagged maint1.0 to builds/maint1.0_build3
------------------------------------------------------------------------
r616 | ttttttt | 2005-09-27 10:07:54 +0200 (di, 27 sep 2005) | 1 line

Integrated into branches/maint1.0: branches/hf_maint1.0_14@446:615
------------------------------------------------------------------------
r614 | ttttttt | 2005-09-27 09:51:25 +0200 (di, 27 sep 2005) | 1 line

Added test.jar to lib dir
------------------------------------------------------------------------
r607 | ttttttt | 2005-09-27 08:33:40 +0200 (di, 27 sep 2005) | 1 line

Tagged maint1.0 to builds/maint1.0_build2
------------------------------------------------------------------------
...

Hope this helps,

Lieven.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 09:26:55 2005

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