集市在哪里寻找规则文件?
关于与 Subversion 存储库一起使用的 Bazaar 文档: http://doc.bazaar.canonical.com /migration/en/foreign/bzr-on-svn-projects.html “有限关键字支持”中有关于 $Id$
扩展的信息。 bazaar在哪里寻找这样的规则文件?我在当前目录和[APP_DATA]\bazaar\2.0\rules.bazaar
中尝试了rules.bazaar
,并将其添加到bazaar.conf
但是当我从 Subversion 存储库签出时 $Id$
没有展开。
我在 Windows 上工作,使用 Bazaar (bzr) 2.2.1 和 Tortoise Bazaar 0.5.8
On Bazaar documentation of its using with Subversion repositories:
http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-svn-projects.html
there is info in "Limited keywords support" about expansion of $Id$
.
Where does bazaar look for such rules file? I tried rules.bazaar
in current directory and in [APP_DATA]\bazaar\2.0\rules.bazaar
, and added that to bazaar.conf
but when I checkout from Subversion repository $Id$
is not expanded.
I work on Windows, with Bazaar (bzr) 2.2.1 and Tortoise Bazaar 0.5.8
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在命令行上运行
bzr version
并查看以“Bazaar 配置:”开头的行。
您应该在该目录中添加一个名为“rules”的文件。
run
bzr version
on the commandlineand see the line that starts with "Bazaar configuration:".
You should add a file called "rules" in that directory.
你应该把规则写成这样:
C:\Documents and Settings\\Application Data\Bazaar\2.0\rules
这是 bazaar.conf 所在的目录。
使用关键字插件可以更轻松地扩展关键字
You should put the rules in something like:
C:\Documents and Settings\\Application Data\Bazaar\2.0\rules
It's the directory where you have bazaar.conf.
Keyword expansion should be easier with the keyword plugin