简体   繁体   English

如何使用SVN属性(bugtraq:logregex)

[英]how to work with SVN properties(bugtraq:logregex)

I found a Eclipse plugin requiring the bugtraq:logregex of SVN properties. 我找到了一个需要SVN属性的bugtraq:logregex的Eclipse插件。 The bugtraq:logregex property suppose to be my Jira ticket ID. bugtraq:logregex属性应该是我的Jira票证ID。 I am wondering how will this function works. 我想知道此功能如何工作。 Is that like this: 是这样的:

  1. Find the Jira ticket ID 查找吉拉门票ID
  2. Add SVN properties bugtrap:logregex=JiraID by svn propset svn:bugtraq:logregex 通过svn propset svn:bugtraq:logregex propset svn propset svn:bugtraq:logregex添加SVN属性bugtrap:logregex = svn propset svn:bugtraq:logregex
  3. SVN Commit SVN提交

However, I think my step 2 is setting properties to a file, I still do not know how to set SVN properties to the project. 但是,我认为我的第2步是将属性设置为文件,但我仍然不知道如何为项目设置SVN属性。 Besides, we are not using Tortoisesvn, and we use Subclipse in Eclipse. 此外,我们没有使用Tortoisesvn,而是在Eclipse中使用Subclipse。

  1. Modify your code 修改你的代码
  2. svn add [files] in your command line svn add [files]在命令行中svn add [files]
  3. Go to jira find your Jira ticket ID, for example "TASK-273" 转至吉拉,找到您的吉拉车票ID,例如“ TASK-273”
  4. svn propset bugtraq:logrex "TASK-273" ./ (svn help propset for more info) svn propset bugtraq:logrex "TASK-273" ./(有关更多信息的svn help propset)
  5. svn commit -m "your commit message"
  6. Check if the SVN property has been successfully set by svn propget bugtraq:logrex 检查svn propget bugtraq:logrex是否已成功设置SVN属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM