简体   繁体   English

使用Ankhsvn对VS项目进行版本控制

[英]Versioning a VS project with Ankhsvn

I am using Ankhsvn for a solo project. 我正在使用Ankhsvn进行个人项目。 I would like to version this project and add a little log tag to specify release notes. 我想对该项目进行版本控制,并添加一些日志标记以指定发行说明。 Is this possible? 这可能吗? I believe this is the tag feature, but it requests a folder to use which doesn't exist on my system (ie not the repository folder). 我相信这是标签功能,但它请求使用的文件夹在我的系统上不存在(即不是存储库文件夹)。

Tags are used to identify a special revision of a product. 标签用于标识产品的特殊版本。 In subversion this is typically done by creating a copy of the trunk folder under a tags folder (subversion does not have real support for tags and little support for branches). 在Subversion中,这通常是通过在标签文件夹下创建主干文件夹的副本来完成的(Subversion对标签没有真正的支持,而对分支却几乎没有支持)。 When you want specific log messages in you release notes, you can 如果您希望在发行说明中包含特定的日志消息,则可以

  1. add a special text in the log message 在日志消息中添加特殊文本
  2. add a svn revision property on the revision which contains the desired log item 在包含所需日志项的修订版上添加svn修订版属性
  3. Gather all logs from a special directory (like gather all messages from the last commit in /tags). 从一个特殊的目录中收集所有日志(例如从/ tags中的最后一次提交中收集所有消息)。

I would use the first one, since it is the easiest way to use. 我会使用第一个,因为这是最简单的使用方法。

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

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