Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I "auto-reconcile" in a gated TFS 2010 Checkin?

I'm setting up a project to use TFS on a server that I've configured, and I've opted to use a gated checkin policy. With this in place, I have the following sequence of steps when I check in code:

  1. Perform a checkin.
  2. Opt to "preserve my pending changes locally".
  3. Click "Build Changes".
  4. Wait while the build goes on and eventually succeeds.
  5. Click to another tab or do something in Visual Studio.
  6. See in the taskbar that a message asking me to "Reconcile" or "Ignore" has popped up, but behind Visual Studio (most of the time, this message never comes up until I start navigating away from the Build Explorer, no matter how long I wait)

First off, the fact that this doesn't happen until I interact with Visual Studio and then it hides the message from me is weird and kind of annoying, but one problem at a time. More importantly, what I'm wondering is whether I can somehow tell TFS/Visual Studio that I always want to reconcile. What I'm looking for would be the equivalent of this message box having a checkbox that says "remember my choice", and me checking it. As I see it, I always want to reconcile the shelved and now checked in changes with my local repository, so I'd prefer not to have to hassle with bringing up this message and answering it.

Is this possible? If it is somehow possible, is it a bad idea for some reason? (I'm new to this, so please tell me if there's a good reason for me to have to pick every time)

like image 697
Erik Dietrich Avatar asked Dec 08 '11 00:12

Erik Dietrich


1 Answers

Well, I've given this a couple of months and no solution has been offered, so I'll post what I did find. I wasn't able to suppress the message via "auto-reconcile", but I did come to see some value in the message as part of my process.

I ran into some unpleasantness where I did a gated-checkin, saw the checkbox go green, and then subsequently went to check in another change quickly. The first one wasn't reconciled yet, and this gummed up the works.

So, the value of the message to me now is that it says "alright, now it's really okay to start doing stuff again". I'm used to the message now, so at this point, I'd probably rather keeping seeing it and have that validation of the checkin being done than figure out how to suppress it.

like image 80
Erik Dietrich Avatar answered Oct 06 '22 01:10

Erik Dietrich