集市和$Id$ [英] Bazaar and $Id$

查看:27
本文介绍了集市和$Id$的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的大多数源代码都在 subversion 中,我使用$Id$"向这些源添加修订信息.然后我可以轻松检查使用了哪些来源(例如,--version 选项会显示该信息).

Most my sources are in subversion and I use '$Id$' to add revision information to those sources. Then I can easily check what sources were used (e.g.. --version option shows that info).

现在我要使用bazaar,我找不到这样的功能.bazaar 中是否有类似 svn '$Id$' 的东西?

Now I'm going to use bazaar and I can't find such a functionality. Is there any equivalent of svn '$Id$' in bazaar?

推荐答案

使用 Bazaar 等 DSCM 工具无法自动生成显示合理版本号的 Id 标签,因为每个人的开发路线都可能与其他人不同.因此,有人可以引用文件的1.41"版本,但该文件的1.41"版本是不同的.

Having automatically generated Id tags that show a sensible version number is impossible to do with DSCM tools like Bazaar because everybody’s line of development can be different from all others. So somebody could refer to version "1.41" of a file but your version "1.41" of that file is different.

基本上,$Id$ 对 Bazaar、Git 和其他分布式源代码管理工具没有任何意义.

Basically, $Id$ does not make any sense with Bazaar, Git, and other distributed source code management tools.

这篇关于集市和$Id$的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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