changeset

How do I select changesets to merge that are attached to work items?

I have a set of work items that are completed and I am ready to move their changes to our production branch. Is it possible to find the changesets that are attached to them and selectively merge them with the target branch? ...

Finding suitable tests for changeset

Dear All, We are using cobertura as code coverage tool. The tests are done using RFT-Rational Functional Tester (500 odd tests). Running RFT takes quite long time. To encourage developers to run the RFT tests, we are thinking of tool that is capable of listing the tests that cover the 'change set'. Approach is roughly:-> On integra...

How do I figure out which changeset a label in TFS was applied to?

We're using Team Foundation Server and we are using Labels to create points in our version history where specific versions (either internal or external) were produced. Right now we were wondering if a particular changeset was done before or after a specific label (and thus included in that version or not), but we must be looking in the ...

Changeset numbering

What's the generally used system? Is there a general system, or do all SCM's just set incremting numbers? ...

Good comments on changesets in sourcecontrol

We need to develop guidelines for writing comments when we register code in version control system (such as TFS). E.g., when we submit a bugfix, we create a comment "Fixed bug #..." We tried to brainstorm on this topic, but most of the ideas bring too little added value. I would appreciate any suggestions for this. ...

GetChangeSet ChangeSet, Linq what order will changes be applied?

I am running the code to get the change set just before a linq submit changes call. private void OnSubmitHandleReplication() { System.Data.Linq.ChangeSet changes = GetChangeSet(); //Do something with change set } In the do something section I need to know what order things were submitted in, and what order they will post to th...

TFS: Labels vs Changesets

I am trying to come up with best practices regarding use of TFS source control. Right now, anytime we do a build, we label the files that are checked into the TFS with the version number. Is this approach better or worse than simply checking the files in and having the version number in the comments? Can you then use the changeset to go ...

How can I review the code affected by a specific changeset in Team System/TFS?

I've been all over the Visual Studio IDE and haven't been able to find where to see the itemized code/files affected by a specific changeset. I found the Changeset option under "Find in source control..." option with the Source Control window up, but it's pretty useless at that point as it only lists the changeset for me but doesn't all...

With Mercurial, how can I "compress" a series of changesets into one before pushing?

Hi, Let's say I have a local and a remote Mercurial repository. Now, I start working on a feature. I work on it, and when I think it's done, I commit the changeset. Testing it a bit more, I find that I could further improve this feature by tweaking something in the code. I make the change and commit. 20 minutes later, I find there's a b...

How to retrieve associated file being checked in from a changeset?

I want to trigger a build only when a particular file is checked in. So i need a way of accessing the associated filename from a changeset from the tfs build script, so i can check for the condition before triggering the build. Would commands involving tf.exe like tf properties,tf get help? I know its not possible to extract the output...

Linking a Ticket in Trac to a Changeset

By using Intertrac we are able to link the change set to a ticket using the syntax: prefix:#ticketnumber This is useful when viewing change sets and seeing which tickets it links to. I also noticed you can do a search on the above link and it will return all the changesets pertaining to that ticket, my question is How can we insert a ...

tfs sdk how to select few work items and build?

Hi I want to know if we can select maybe first and last work items out of a list of work items associated with a particular changeset.. or even select few changesets associated with a particular build.. won't that result in a straight error as the changesets are all directly dependent on each other? How can we make the build pass with...

How to associate work item with check in when using tf.exe

We have a rule in TFS that requires all checkins to be associated with a work item. We have an automated daily build process that uses tf.exe to check in the files. However, I did not find any way to associate files with a work item. I heard of tfpt, and have it installed, however, I did not have any success using it to associate files ...

How to get work items associated with a changeset id using tfs api?

Hi I need to get a list of work items that are associated with selected changesets programmatically. So far I have been able to get the changesets associated with a work item ID using the concept of Artifacts, as well as got the changesets and/or workitems associated with a particular build using : InformationNodeConverters.GetAssociat...

How can I extract all changed files of a changeset in Mercurial?

Until recently we have been using SVN for all projects of our web studio, and there is a very convenient feature present in several clients like Subversive and TortoiseSVN that can extract all files that have been changed in a certain revision. Is there a way to do it in Mercurial? I don't care if it's done via a GUI or a command line, ...

What is the meaning of an asterisk appended to a TFS changeset number

I am looking at candidate changesets for a merge and I get some output I don't understand: tf merge /candidate /recursive $/Acme/Branches/Release/3.5 $/Acme/Trunk Changeset Author Date --------- -------------------------------- ---------- 47829* nate:14 4/16/2009 What does the * at...

How to reslve changeset conflicts

Hi.. I have a real time scenario whre there is a one developer who created 3 change sets as in 1.1,1.2 & 1.3 and decides to checkin changeset 1.3. now the second developer checkesout the code and writes his code and does CheckIn. The situation is 1st developer decides that he should not have checkedIn 1.3 instead checked IN 1.2 but if he...

How can I open a single changeset in TFS from within Visual Studio

Someone emailed me a TFS changeset ID and now I am trying to open this single changeset. Is there an easy was to do this from within Visual Studio (VS 2008 if it matters)? ...

View a list of all files changed as part of a Workitem in TFS

If I am checking in code against a workitem, on each check in a changeset is created. I can view the links tab of the workitem and then view each changeset to see the files that have been changed. Over time, however, the workitem may end up with many changesets, and finding all files that have been changed can be a very time consuming an...

TFS: comparing changesets

In TFS we can find "compare" a file between 2 changesets. Is it possible to compare 2 changesets. Say take changeset "r" as reference and compare it with changeset "s" and find the files/folders which were added/removed/delted/edited ? ...