How can I store the new CHANGESET number in my source code after I check in?

a 夏天 提交于 2019-12-06 05:50:43

问题


In SVN you can use some keyword expansion to put your revision number inside source files. I find this particularly useful on SQL scripts.

Using TFS2010, how can I put the changeset number inside a source file ?


回答1:


If you really must insert the current changeset number in a file, you can use the Keyword Substitution Check-in Policy.



来源:https://stackoverflow.com/questions/10247305/how-can-i-store-the-new-changeset-number-in-my-source-code-after-i-check-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!