Re: how to get list of changes for a specific tag

Ahmed A <[email protected]> Thu, 19 Jul 2007 21:26:16 -0700 (PDT)
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
Hi Larry,

Thank you for your response.  I will explain what I am
trying to achieve with an example.

Assume there are a few tags on the repo - T1, T2, T3,
T4, T5.   These tags are associated with changesets
associated to changes in a specific file (version.h).=20
That way we can tell, T1 tag related to version 1, T2
to version 2, etc.

Assume there are a bunch of changesets - C1, C2, C3,
C4, C5, C6, C7, C8.

How can I tell, for example, which of these changesets
are associated with T3 (or for that matter T4).

Is T3 -> C1 C2 C3 C4
or T3 -> C1 C2 C4 C5

Well, that all depends on the person that did the
tagging, and the changesets pulled by that person into
his local repo before doing the tagging.

I would like to ask the repo -  "Based on tag t3,
which changesets are part of it (in another words,
What changesets did the tagger have on his local repo
when he did the tag)."

I cannot use timeline of Tags and changesets, as those
are all based on when they were created on the users
local repository (not when pushed into repository).  A
user could have created a changeset prior to a tag,
but pushed into the repo after the tag was created.

For now, only way I can answer that question, is to
literally do a close of the repo with tag - T3, then
do a "bk changes" in it.  :(

Thank you,
Aha.




--- Larry McVoy <[email protected]> wrote:

> I think that the "bk set" command is probably what
> you want but I can't
> tell from you description.   Do a "bk help set" and
> play around with that
> and see if that is what you need.  If not, you can
> send mail here or to
> [email protected].
>=20
> --lm
>=20
> On Thu, Jul 19, 2007 at 08:50:30PM -0700, Ahmed A
> wrote:
> > Hello,
> >=20
> > I have a very basic question, as I am learning to
> use
> > BK.  How can one get the list of changesets that
> are
> > part of a tag.  Allow me to explain.  Multiple
> users
> > have clones of the repository on their pc.  Our
> > release engineer decided to create a tag on his
> pc,
> > and then push the tag onto the repository.  Based
> on
> > just the timestamps it is "impossible" to tell
> which
> > changeset are part of that tag, all depends on
> what
> > changeset the release engineer had pulled into his
> > local repository before he did the tagging.
> >=20
> > I have figured out the long way to achieve my goal
> > (Please let me know if I am wrong).  Clone the
> repo
> > with the specific tag.  Then "cd" to the
> directory,
> > and issue the command "changes" to get a listing
> of
> > changesets.  Form the list, I can tell if a
> specific
> > changeset is part of that tag.
> >=20
> > Is there a shorter way than having to clone the
> whole
> > repo, just issue a command on the repo?
> >=20
> > Thank you,
> > Aha.
> >=20
> >=20
> >     =20
>
_________________________________________________________________________=
___________
> > Park yourself in front of a world of choices in
> alternative vehicles. Visit the Yahoo! Auto Green
> Center.
> > http://autos.yahoo.com/green_center/=20
> > _______________________________________________
> > Bitkeeper-users mailing list
> > [email protected]
> >
>
http://mail.bitmover.com/mailman/listinfo/bitkeeper-users
>=20
> --=20
> ---
> Larry McVoy                lm at bitmover.com      =20
>    http://www.bitkeeper.com
>=20



      ___________________________________________________________________=
_________________
Park yourself in front of a world of choices in alternative vehicles. Vis=
it the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/=20