如何在 SVN (TortoiseSVN) 中使用关键字 [英] How to use keywords in SVN (TortoiseSVN)

查看:33
本文介绍了如何在 SVN (TortoiseSVN) 中使用关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用关键字替换工具制作只有少数数据的文档:-日期-修订-作者-HeadURL-id

I can't do a document with the Keyword Substitution tool to have only a few data as: -Date -Revision -Author -HeadURL -Id

我正在进行测试,但无法实现关键字替换.我创建了一个包含以下信息的文档 Txt:

I'm doing a test but I can't implement the Keyword Substitution. I created a document Txt with the following information:

svn:keywords = Date Revision Author HeadURL Id

 $Id: $
 $Revision: $
 $Author: $
 $HeadURL: $
 $Date: $

不知道应该用txt文件还是其他格式来实现.

I do not know whether it should be implemented in a txt file or in another format.

我正在使用 TortoiseSVN 和工具 Subversion Edge.

I am using TortoiseSVN and tools Subversion Edge.

推荐答案

你必须使用正确的工作流程和语法

You have to use correct workflow and syntax

  1. 将 svn-property 添加到文件中(如 Ken 所述)
  2. 在文本文件中使用启用关键字的正确语法

$Revision$$Date$$Author$

这篇关于如何在 SVN (TortoiseSVN) 中使用关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆