TFS 命令行帮助:拒绝分支签入
我正在尝试查找 tf.exe 命令来拒绝分支的签入权限。
我通过右键单击分支 -> 手动执行此操作属性->安全选项卡 ->选择组“[mytfs]\Contributers”并选择拒绝“签入”复选框。
构建成功后,我执行相同的步骤以允许“签入”。
据我可以使用命令行
tf permission /deny:Checkin /Group:[mytfs]\Contributers $/Mytfs/Myproject
但是我收到错误抱怨“没有blah blah balh的工作文件夹映射..
如果我做错了什么或者我正在尝试使用,有人可以帮助我吗?”命令错误?
TFS 版本:2005
谢谢! 桑吉耶夫
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要移动到 TFS 映射中的目录才能使该命令发挥作用。
如果您将分支映射到 c:\branch1,那么从那里运行命令,它应该可以工作。问题是 TFS 无法确定您所在的分支。
You need to move to a directory within the TFS mapping for this command to work.
If you have your branch mapped to c:\branch1 then run the command from there and it should work. The problem is that TFS cant figure out what branch you are under.