I'm currently using TFS 2013 Update 3 with TFVC, along with Visual Studio 2013 Update 3.
Let's say there is a branch A, with a series of changesets, e.g. 11346, 12345, 12897. Then a branch B is created from branch A and changeset 12345 (Branch from Version, By Changeset).
At this point, from Visual Studio, it's easy to check that branch B is a child of branch A (e.g. right click on branch B -> Advanced -> Properties -> Relationships) but, is there also a way to know that branch B was branched from the particular changeset 12345?
At the moment, when branching by changeset, I explicitly write the changeset number of the parent branch in the description of the new child branch; however, I was wondering if that information is available "automatically" somewhere, just like the relationship of the two branches as mentioned before.
It'd be OK even if such information could only be retrieved through the command line.
The TFS functionality to use is the Track Changeset.
See View where and when changesets have been merged in the MSDN documentation.
By opening the Tracking Changeset window, you can determine which
branches have and have not received a set of changes.
It's then possible to find the original parent changeset number of a branch that was created with a branching-by-changeset operation.
Basically, these are the actions that can be done from Visual Studio following the scenario showed in my question
(branch A: parent branch, branch B: child branch):
From the Source Control Explorer window, right click on the child branch -> View History
Identify the first (older) changeset of that branch and right click -> Track Changeset
In the branch list, the child branch should be selected by default; make sure that the parent branch is also selected and also add the child branch to the Path filter through the Browse... button
Click on the Visualize button, the Tracking Changeset window appears
By defaut, the Hierarchy Tracking view is displayed: the parent branch shows the list of changesets, where the last one is the one of interest. Alternatively, the Timeline Tracking can be used. These two views show clearly the relationship of the two branches, when the child branch was created and the parent changeset number that the child branch originated from.
Related
I am having an issue with my fields in Ag Leader SMS. I imported a TIFF image containing NDVI data and assigned it to a new field name, but it didn't show up in the management tree. I put the TIFF into QGIS and figured out that it is not using the correct projection.
After getting this issue resolved, I wanted to reimport to SMS. However, the field is not showing up in the management tree, but when I go to device setup to make the export it is still there.
Basically, even though I deleted the branch, there is still a field in the export and I don't want a duplicate in future exports.
Yes, I just ran into that issue recently as well, and it took some time to figure it out.
Basically, to remove a field altogether, you can't just delete the branch.
To completely remove it, whether you want to replace it with a new one or not, you have to remove all the files under it and then take it out of the field list. The easiest way to do this is to right-click the field you want to remove and choose delete branch. (This will remove it from the management tree, but there is still a record of it and that is why it shows up in the export still.)
Then, right-click a field that is still there -> choose "Alter Field List..." -> Under the Field category find the field you want remove -> highlight it -> click delete.
**If the delete button is greyed out, that means there is still data under that field. You must delete the branch so that it is not showing up in the management tree before you're able to remove it from the field list.
Is it possible to view the tasks in the task list in a tree structure according to the project and maybe even classes? Only sorting by project without being able to filter by the class structure is not useful if I want to ensure that I did not forget anything in the feature I'm working on but I do not intend to see TODOs in other parts of the solution.
Right click on the contents of the Task list -> Grouping. Multiple options can be selected. The order of selection does matter.
There are two different websites with drop-down menus, but only one is having the appropriate "branch-out" affect.
Picture 1 is the one not branching and picture 2 is doing what I want:
No Branch
Branch
The menu that is correct is using a tree menu widget and the other is not, only a breadcrumbs widget. As you can see I added a "Test Page" under Government, but it is simply at the bottom of the menu. If it's just a matter of inserting a Tree Menu widget to get the affect I want, I'll do that, but I wanted to see if there was another solution first. Thanks.
Looks like it could be an issue with the webpart used for the menu. So the one site showing correctly may have the levels set to the necessary depth whereas the other site may not. This doesn't seem to be the case though as the webpart is picking up the "Test Page" but not the "Tax Matters" page.
It could also be an issue with the overall design of the site's menu. Maybe the site's menu wasn't designed with 3 levels of depth on it. To check this you can go to the webparts transformation property and see if there are multiple levels setup to display that 2nd and 3rd level nested within one another.
Not knowing the configuration of your webpart or the transformation makes it a bit harder to actually troubleshoot.
When I go into existing case, and click on the chevron, the "Related Cases" tabs shows up twice. Would you be able to help? I have a javascript for the cases form but it doesn't have anything to do with the associated view.
It sounds like your Business Process Flow may have the duplicate. When you say the "Related Cases" tab shows up twice are you saying that you are seeing two stages that are both named "Related Cases"? For example, this example has two stages displayed, Qualify and Develop. Or do you see "Related Cases" as duplicate steps within a stage?
Either way, you can view the details of the Business Process Flow, as long as you have the appropriate permissions, by navigating to Settings -> Processes and changing the view to "Business Process Flows". You can sort the view by the Primary Entity and you should see at least one where the primary entity is Case. Once you open the record you can see all of the stages and steps. A user with the appropriate privileges can edit this Business Process Flow as needed.
Edit business process flows
I guess you mean the duplicate "Navigation link" Related cases showing in top Jewel within the Case record.
You might have added a subgrid in Case form in addition to Existing 'Related case' associated view. You can verify this by doing below steps.
Open Case entity Form in 'Form Editor' & click 'Navigation' from top ribbon -
inside 'Form editor'. Then focus on one of the left navigation link 'Related cases' & delete it.
Or double click the left navigation in 'Form editor' twice to focus the left hyperlink & delete it.
Is there any way where we can see the list of items that have been checked out by a specific user.
Items checked from a project are recorded in the database as a place-holder revision with the next number in sequence. Generally they will appear in the user's pending list (inbox) and will show with state "$TO_BE_DEFINED". Arrange your desktop client views to show state, along with user names and dates (use Customise Views under Tools menu) and you can sort and filter columns to show information you need. You can even add User Filename to the views and you will see exactly where the file was checked out to.
The desktop client is very powerful but needs some customising as the out-of-box standard views are very limited.
With appropriately set privilges a user can inspect other users' inboxes. A team leader could set up some simple reports to show numbers of checked-out files against users.
There are so may ways to achive this - but I agree it is not obvious to a new user.
Menu, EDIT/FIND/ITEM
On Tab Option:
STATUS=$TO_BE_DEFINED
ORIGINATOR=?user?
Click on tab Find Now
I am still using dimension in 2019. Let me add relevant snapshots as well. I struggled with this let this answer be so no one has to struggle again.
On Web View
You can add a column Checked Out By and then use that column to arrange the files accordingly.
To add on Web View you can first go to your user preferences as shown below:
You can add the "check out" column by taking it from available columns as shown below:
You should now able to rearrange file in views by clicking on the check out column. The files will arrange first on ascending order of usernames and then by descending order.
On Desktop Client
My item list view looks something like the following which doesnt have a "Check out" column in the view.
One way to find out the files check out is using find item. You can find this in Edit -> Find -> Items. Looks something like this.
You can fill in the data as follows: Status as $TO_BE_DEFINED and User Name to the user you want to search for. .
On Clicking open you will get the results in the items(Find Results) window.
Hope the snapshots helps.