集市在哪里寻找规则文件?

发布于 2024-09-28 10:19:32 字数 516 浏览 0 评论 0原文

关于与 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

妖妓 2024-10-05 10:19:32

在命令行上运行 bzr version
并查看以“Bazaar 配置:”开头的行。
您应该在该目录中添加一个名为“rules”的文件。

run bzr version on the commandline
and see the line that starts with "Bazaar configuration:".
You should add a file called "rules" in that directory.

霓裳挽歌倾城醉 2024-10-05 10:19:32

你应该把规则写成这样:
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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文