What does this purple 'T' icon mean in Visual Studio/TFS 2012 - visual-studio-2012

I'm using Visual Studio 2012, linked up to TFS 2012 for source control.
I've just branched some code, but after creating the branch files it told me I don't have 'Manage Branch' permission.
Not an issue, I can sort that, but my Google skills are failing me when it comes to working out exactly what this little purple 'T' icon means in the source explorer window.
I presume it's a pending change?
LATER THAT DAY : After sorting the permissions out, I checked the new branch in ok and the icon disappeared, but I'd still like to know what it meant, and how to identify any other icons that might appear.

It's just the new VS2012 icon for a pending Branch action. If you look closely, it's not a 'T' but actually an upwards facing split arrow. A larger version of the icon can be seen if you look at the File -> Source Control -> Branching and Merging -> Branch menu item.
Normally you won't see this since branch actions are usually performed server side. In your case since you didn't have permissions it was tracked as a pending branch request, and cleared once your permission problem was resolved.

When you check in your new branch the purple icon will disappear.
The purple T symbol will be shown next to all files in a newly created branch that has pending changes (the branch is created but not checked in). I assume this is the 'pending change' indicator at source control or branching level.

Related

Is there a way to view changes in Azure Data Factory before saving them in DevOps GIT?

I'm new to the Azure Data Factory Web UI. My current project is set to use Azure DevOps GIT. Occasionally, I'll be experimenting and open and close several pipelines and datasets and suddenly notice the Author tab (in the left hand panel) has a yellow circle overlay displaying a number on the pencil icon. I assume this is the number of changes I've made to the project; If the pipeline that I've changed is still open, it will show a dot in the tab next to it's name and when I save it, the number in the overlay decrements.
But sometimes, I can close/save all the objects and still see the overlay on the pencil icon. In this case, if I try to close the project (or switch branches) I'll get a message asking if I want to save my changes. At this point, I don't know what I've changed so I'm not sure what changes will be lost. If I save my changes, the changes are automatically committed (that's an annoyance). To view the changes, I create a pull request (assuming I'm working on a branch) and review all the changes since branch was created (another annoyance).
Is there a way to see my changes before saving? and is there a way to save changes before committing them?

Team Explorer displaying an incomplete shelveset

In Visual Studio VS2012, I am using Team Explorer to display shelveset details in a file tree form.
I am using the VS TFS source control plug-in.
For some mysterious reason it has a capacity limit on something like the number of files shown. On the screenshot below it just chose to hide two files from my eyes again:
This is easily missed during review if one is used to seeing the whole shelveset most of the time.
One can go to the "All Included Changes" page, but that page is no longer in the file tree form and is considerably more difficult to navigate (it is not possible to expand/collapse on folder level).
The resulting end user experience is quite absurd. Tiny shelvesets where the tree view is only complicating the control are displayed as trees, whereas shelvesets of any non-trivial size are unusable in the tree view.
What is the tool thinking it is doing?
Can I control the capacity limit, so that I can see a slightly larger shelveset in the file tree form somehow?
Can I prevent the incomplete display of shelvesets altogether?
Visual Studio 2013 (pre-release) is either fixed or significantly improved. It can display a shelveset containing 2254 files in the treeview as a charm (VS 2012 Update 3 only showed 156 files out of the same shelveset).

TFS Pending Changes keyboard commands in VS2012

I'm using VS2012 with TFS2010 (which may or may not matter).
I cannot seem to get any of the keyboard commands that should work with the Pending Changes window to, y'know, work.
I've tried the steps listed here, and I've tried binding keys to ever "CompareWith" commands listed in the keyboard dialog. The only ones that actually seem to do anything are the File.* commands, but those operate on the open file, and not the Pending Changes window.
I've seen that commands like Alt-I (check-in) work, but they don't appear in the Keyboard settings.
Does the new window in VS2012 have its own set of keyboard settings that are set somewhere else? I'm trying to get to the point of have an keyboard-only workflow for Comparing, the Excluding or Undoing.
Update:
This is really strange. I can actually see the shortcut keys in the right-click dialog, but pressing them does nothing. I then tried changing it to a chord, and I get the error message: "The key combination (Ctrl+Shift+Q, Ctrl+Shift+Q) is bound to command (Tfs.ContextPendingChangesPageExcludeChanges) which is not currently available"
Update 2: I found this blog post, which has some more shortcuts listed, but not that actually do operations on the individual files. For quick reference, here's his list:
Shortcut Team Explorer Page
Ctrl+' Search
Ctrl+0,H Home
Ctrl+0,P Pending Changes
Ctrl+0,M My Work
Ctrl+0,W Work Items
Ctrl+0,B Build
Ctrl+0,R Reports
Ctrl+0,D Documents
Ctrl+0,S Settings
Ctrl+0,A Web Access – team home page
F5 Refresh
Ctrl+Up Move focus to the previous visible section header
Ctrl+Down Move focus to the next visible section header
Alt+Left Navigate backward
Alt+Right Navigate forward
Alt+Home Focus the navigation control
Alt+0 Focus the page top level content
Alt+[1-9] Focus the visible section [1-9] level content
Alt+Up Focus the previous visible section content
Alt+Down Focus the next visible section content
There is a bug with key bindings in some Team Explorer pages in VS 2012 RTM. This has been fixed for the next VS 2012 update.
-Chad

VSS 2005: how do I create branch at the point of a label?

Using Visual SourceSafe 2005:
At an earlier point in time I labelled my source to indicate the release of a new version of the software.
What I want to do is now create a branch where the label was created, in order to release a minor upgrade without including other work that I have been doing on the software.
Do I use a branch for this, and how do I do this in VSS 2005?
I'm unsure what you mean. However, go to your topmost level project folder then show history. You can click get on any label you see in the history. Please ensure you put this branch somewhere different to your current development branch.

Perforce: P4V option to 'add to client view'? (It exists in P4Win)

In the Perforce realm, the P4Win GUI is now "legacy" and the new P4V is supposed to fill in the void (and it does, most of the time).
There was one very useful (albeit rather hidden) option in P4Win that allowed adding a depot path to the client specification in a few clicks.
Is there a similar option available in P4V? ... because I can't find it.
(I know I can do it manually.)
Here is the P4Win feature, in all its glory:
This is typical for the P4 GUI (old and new) - it can do lots of things, if only you knew where to look (hint: usually not where you'd expect to find it).
There IS an option in P4V similar to the old 'Add Files to client view' from P4Win, only a lot more powerful! (it's a bit hidden and IMO not as streamlined as the original)
You can't find it in the depot view, where you probably ARE when you need it. Instead, go to Workspaces view, right-click the workspace definition and 'Edit' it (or dbl-click it then click 'Edit').
Notice the tabs on top of the 'Workspace editor' window that just opened. Select the 'View' tab. There is a lot going on here, including (apparently) information on the new 'Offline' mode.
To get to the point: in this window, find the piece of depot you need and right-click it.
Nirvana! There are no less than 6 menu options (!) that allow you to specify how and what to add OR remove to/from the workspace definition.
There's even an 'advanced' mode that looks a bit scary :-&
For P4V version : Rev. Perforce Visual Client/LINUX26X86_64/2012.1/490402
Released on 2012 July 02
Do as follows
Go to Connections -> Edit Current Workspace
In the Basic tab , Workspace Mappings , Right click on the tree and Include Tree.
I don't think that there is, you need to open the Workspace view and make your changes there.
Edit your workspace and change the view to include the relevant directory. Although I use P4V everyday and 'Add to client view' seems to ring a bell....
Of note, they added this feature into the P4V client at some point. You can now right click on a path in the depot tab and choose "Map to Workspace View...". It will bring up the workspace editor with the path added.

Resources