|
|
Choosing A Webhost: |
Re: how to get list of changes for a specific tag: msg#00003version-control.bitkeeper.user
Hi, What version of BK are you using. If bk-4.0 or newer, you can say 'bk changes -r..TAGNAME' to get a list of all changes that make up the repo as of TAGNAME, and 'bk changes -rTAG1..TAG2' to get a list of changes that are in TAG2 but not in TAG1. The '..' is a range, and the empty start of a range means to go back to the root of the history graph. See 'bk help changes' for a list of the commands. Rick On Thu, Jul 19, 2007 at 09:26:16PM -0700, Ahmed A wrote: > 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). > 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 <lm@xxxxxxxxxxxx> 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 > > support@xxxxxxxxxxxxx > > > > --lm > > > > On Thu, Jul 19, 2007 at 08:50:30PM -0700, Ahmed A > > wrote: > > > Hello, > > > > > > 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. > > > > > > 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. > > > > > > Is there a shorter way than having to clone the > > whole > > > repo, just issue a command on the repo? > > > > > > Thank you, > > > Aha. > > > > > > > > > > > > ____________________________________________________________________________________ > > > Park yourself in front of a world of choices in > > alternative vehicles. Visit the Yahoo! Auto Green > > Center. > > > http://autos.yahoo.com/green_center/ > > > _______________________________________________ > > > Bitkeeper-users mailing list > > > Bitkeeper-users@xxxxxxxxxxxx > > > > > > http://mail.bitmover.com/mailman/listinfo/bitkeeper-users > > > > -- > > --- > > Larry McVoy lm at bitmover.com > > http://www.bitkeeper.com > > > > > > > ____________________________________________________________________________________ > Park yourself in front of a world of choices in alternative vehicles. Visit > the Yahoo! Auto Green Center. > http://autos.yahoo.com/green_center/ > _______________________________________________ > Bitkeeper-users mailing list > Bitkeeper-users@xxxxxxxxxxxx > http://mail.bitmover.com/mailman/listinfo/bitkeeper-users
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: how to get list of changes for a specific tag, Ahmed A |
|---|---|
| Next by Date: | Re: how to get list of changes for a specific tag, Ahmed A |
| Previous by Thread: | Re: how to get list of changes for a specific tag, Ahmed A |
| Next by Thread: | Re: how to get list of changes for a specific tag, Ahmed A |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |