我修改了TFS下的一些文件,保存了更改并尝试使用以下命令检查它:
checkin "filename" /override:"1" /noprompt /comment:"some comment here"
并收到错误:
There is no pending change for "filename"
有人知道我该怎么办才能成功检查它吗?
解决方案: 如果您修改的文件不在Visual Studio中,则必须在签入之前进行结帐以避免此问题。
答案 0 :(得分:3)
只是一个猜测,但听起来tf.exe不知道在哪个工作区进行此签入操作。查看tf.exe workspace
和tf.exe workspaces