Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要这个功能(SVN Tortoise 关键字替换)
$Rev $
在存储库的每个文件中,无需在其中手动添加关键字。
有没有办法让修订号出现在每个文件中而不做所有这些?
不可以。在 Subversion 中对文件进行关键字替换的唯一方法是:
svn:keywords
如果你不做这两件事,Subversion 不知道在哪里扩展关键字,也根本不需要扩展它。