Bazaar 和 Breezy
Bazaar 是由 Canonical 赞助的免费版本控制系统。Breezy 是 Bazaar 的一个分叉,向后兼容 Bazaar 的磁盘格式和协议。不过,Breezy 运行于 Python 3 而非 Python 2。
注意: 要使用 Bazaar 或 Breezy,请启用 Bazaar 插件。
Bazaar 和 Breezy 的其他功能
除了使用常用 VCS 功能中描述的标准版本控制系统功能外,还可以在Tools >Bazaar 子菜单中选择以下功能。
| 菜单项 | 功能描述 |
|---|---|
| Pull | 将一个分支变成另一个分支的镜像。 |
| Push | 更新分支的镜像。 |
| Uncommit | 删除最后提交的修订。 |
取消提交修订
在 Bazaar 和 Breezy 中,提交到分支的修改会创建一个新的修订版本,保存工作树状态的快照。要删除最后提交的修订版本,请选择Tools >Bazaar >Uncommit ,然后在Uncommit 对话框中选择所需的选项。
| 选项 | 说明 |
|---|---|
| Keep tags that point to removed revisions | 保留指向已删除修订的标记。 |
| Only remove the commits from the local branch when in a checkout | 仅从本地分支中删除提交。 |
| Revision | 删除修订日志中指定条目之前的所有提交。 |
要测试Uncommit 命令的结果而不实际删除任何内容,请选择Dry Run 。
Uncommit 让工作树为新提交做好准备。唯一可能的改动是恢复提交前的待合并。
Bazaar 和 Breezy 偏好设置
要设置 Bazaar 或 Breezy 偏好设置,请选择Preferences >Version Control >Bazaar 。

| 首选项 | 说明 |
|---|---|
| Command | 命令行客户端可执行文件的路径。 |
| Default username | 提交更改时默认使用的用户名。 |
| Default email | 提交更改时默认使用的电子邮件地址。 |
| Log count | 日志的最大行数。 |
| Timeout | 版本控制操作的超时时间。 |
另请参阅 启用和禁用插件、设置版本控制系统、使用常用 VCS 功能和版本控制系统。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.