Bazaar 是否有相当于 Git 默认分支的工具?
使用 git,我可以概念上创建分支,而不必对我的目录结构进行分支。当我在分支之间切换时(假设所有内容都已提交),它将更改我正在处理的文件的内容以反映“当前”分支的状态。
我真的喜欢能够做到这一点 - 它非常适合我的工作流程,尤其是当我使用 Visual Studio 时。
但我是芭莎的粉丝。我喜欢它主要是用 Python 编写的,我喜欢 GUI 的漂亮和简单(对我来说),而且我喜欢它的跨平台性。
所以我的愿望是这是可能的,我的问题是:Bazaar 可以做/模仿 git 的行为吗?如果是这样,怎么办?
Using git, I can create branches conceptually, without having to branch my directory structure. When I switch between branches (assuming that everything has been committed), it will change the contents of the files that I'm working on to reflect whatever the status of the "current" branch is.
I really like being able to do this - it fits very well in my workflow, especially when I'm using say, Visual Studio.
But I am a Bazaar fanboy. I like that it's written mainly in Python, I like how pretty and simple (to me) the GUI is, and I love that it's very cross-platform.
So my desire is that it's possible, and my question is: can Bazaar do/emulate git's behavior? If so, how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 Bazaar 中使用(重量级)结帐,因此我不确定这对您来说是否完全相同,但您应该能够使用
switch
命令来执行此操作。例如:当然,您也可以使用分支的绝对路径,但相对路径可以节省大量输入。不幸的是,合并命令需要完整路径。
这是您正在寻找的东西吗?
I use (heavyweight) checkouts in Bazaar, so I'm not sure that this will be quite the same for you, but you should be able to do this with the
switch
command. For example:You can, of course, also use the absolute path to the branches, but the relative ones save a lot of typing. Unfortunately, the merge command requires a full path.
Is this the sort of thing you're looking for?