如何告诉 Bazaar 文件是二进制的
这是为了避免在存在冲突时该文件中出现一些<<< 或一些>>。
如果存在冲突,我只想要一条消息告诉我存在冲突,并且 bazaar 不应该弄乱该文件。
使用 Subversion,您可以修改 svn:mime-type 属性。 但不知道Bazaar有没有这个功能。
This is to avoid having some <<< or some >>> in that file if there are conflicts.
If there is a conflict, I just want a message telling me there is a conflict and bazaar should not mess with the file.
With subversion, you can modify the svn:mime-type property. But I don't know if Bazaar have this feature.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
参考 表示到目前为止还没有明确的方式来说明:
The reference says that there is no explicit way of telling so far:
这很烦人,但您仍然拥有未更改的 .BASE、.OTHER 和 .THIS 文件,您只需将更改后的文件替换为您需要的文件即可。
我想可以编写脚本。
It is annoying, but you still have the .BASE, .OTHER and .THIS files which are unchanged, you just replace the altered file with the one you need.
Can be scripted, I suppose.