changeset

Track merged changesets from deleted branch

我的梦境 提交于 2020-01-16 04:26:06
问题 I find the 'Track Changeset' feature in TFS useful to allow me to visualise which changesets have been merged into Main which works as an audit when checking the state of our codebase. However when a branch has been merged and subsequently deleted I am unable to retrieve the changeset that was merged. How do I discover that the newly deleted branch was brought into Main before being deleted? This is trivial in SVN (as we have the 'Copy from path' and 'Revision' columns against each file).

Given a TFS changeset, how can I find what work item(s) it is linked to?

自古美人都是妖i 提交于 2020-01-13 06:11:21
问题 It's easy to see what changesets are linked to a given work item. But is it possible, given a changeset, to find out what work item(s) it is linked to? 回答1: If you have the changeset number then in TFS explorer in VS press CRTL + G and provide the changeset number and click OK. That will bring the change set in team explorer. Then you can click on a folder/file and select view history which will show you the work items related to it. See view changesets for more information. Also, check out

Modify CreationDate for TFS Changeset

自作多情 提交于 2020-01-07 05:05:10
问题 I'm currently creating a migration tool from one version control system to TFS and am using the Microsoft.TeamFoundation.Client assembly and have run into a problem. I am able to mimic the changes for each Changeset , but the CreationDate property is automatically generated by the CheckIn method as shown below: var changeSetId = workspace.CheckIn(pendingChanges, userName, comment, note, null, null); I am then able to load the Changeset object by ID that was returned by the CheckIn method: var

Difference between a changeset and a patch?

半世苍凉 提交于 2020-01-05 02:29:07
问题 What is the difference a changeset and a patch? I was using hg today and I noticed the import command mentions that it is used to "import an ordered set of patches." What is a patch? 回答1: Changeset typically refers to the internal representation. Thus, hg unbundle , which processes mercurial-specific files, "applies one or more changegroup files." A changegroup is simply a group of changesets. Patches are plain text in standard formats (e.g. produced by diff). Note that the patch command can

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

谁说我不能喝 提交于 2020-01-02 19:11:07
问题 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.GetAssociatedChangesets() and InformationNodeConverters.GetAssociatedWorkItems() respectively. I am using VSTS 2010 beta 1. Anyone know the solution? 回答1: Try this:

A way to find out all affected files of a workItem or group of chgsets in TFS 2008?

喜你入骨 提交于 2020-01-01 09:58:48
问题 I'm trying to figure out a way to find out which files were affected by a work item in TFS 2008. I realize that this is a duplication of a question already asked by someone else here - View a list of all files changed as part of a Workitem in TFS but it went unanswered and I've been, off and on, looking for this for a while. I understand can view the links tab of the work item and then view each changeset to see the files that have been changed. But, the work item very likely will end up with

A way to find out all affected files of a workItem or group of chgsets in TFS 2008?

寵の児 提交于 2020-01-01 09:58:04
问题 I'm trying to figure out a way to find out which files were affected by a work item in TFS 2008. I realize that this is a duplication of a question already asked by someone else here - View a list of all files changed as part of a Workitem in TFS but it went unanswered and I've been, off and on, looking for this for a while. I understand can view the links tab of the work item and then view each changeset to see the files that have been changed. But, the work item very likely will end up with

Getting TFS to put the changeset in the assembly version

我的未来我决定 提交于 2019-12-29 05:18:06
问题 I have got a Team Foundation Server Build running cleanly. It produces several assemblies and I would like the assemblies versions to have the last number to be the changset number. That is, if I commit with a changeset11667 for example the assembly version number should be "x.y.z.11667". I've checked the availible macros, but none is the changeset number. I would still like to be able to build the solution file on my dev machine as normal, just using the checked in version number. How would

How can I query work items and their linked changesets in TFS?

僤鯓⒐⒋嵵緔 提交于 2019-12-28 14:55:08
问题 In TFS 2010 I have work items with linked changesets. I can generate a query that reports the work items I'm looking for. Now I want to do a query of Work Items and Direct Links that includes all the changesets linked to these work items. In the query editor I can't find any means to specify a changeset as the linked-to item. Are work-items the only output possible from a query? 回答1: An option is to use the TFS API like the following snippet. var projectCollection = new

Groovy get edit type of tfs changeset

十年热恋 提交于 2019-12-25 00:43:02
问题 I need to get tfs changeset files (I have accomplished this) and also whether it was added or deleted using the groovy plugin on jenkins server. I cannot figure out how to access the item class that holds the method to get the edit type. I have tried the below code and just cannot figure it out. import java.lang.* import jenkins.* import jenkins.model.* import hudson.* import hudson.model.* import hudson.util.* import hudson.scm.* import hudson.scm.SubversionChangeLogSet.LogEntry import