I'm using TFS 2010 as a Source Control System and have the problem that I want to do multiple commits, but cannot check them in because of a policy that requires a review.
I want to do more commits (pretty much every few minutes) than reviews. Basically I want to commit to some temporary place and then when someone reviews the individual commits they get promoted to the main Source Control.
Shelving doesn't solve this properly, because you cannot commit a Shelveset directly. Since it's not a DVCS, I cannot do local commits.
Is my only option to create a private branch and have the reviewer merge it into the trunk?
Or is there a sane alternative for this scenario?
A separate branch is what I would recommend.
You'd basically be following a branch by quality pattern. Unreviewed Code Branch, Reviewed Code Branch.