I'm trying to find tf.exe command to deny checkin permission for a branch.
I do this manually by Right Clicking the branch -> Properties -> Security Tab -> Select the Group "[mytfs]\Contributers" and selecting Deny "Check In" checkbox.
After a build is successful, I perform the same stepts to allow "Check In".
As far as I can go with the command line is
tf permission /deny:Checkin /Group:[mytfs]\Contributers $/Mytfs/Myproject
But I get the error complaining "There is no working folder mapping for blah blah balh..
Could someone please help me out if I'm doing something wrong or I'm trying to use the wrong command?
TFS Version : 2005
Thanks! Sanjeev