我从哪个 bzr 版本分支?
我从团队的集市存储库中创建了一个“bzr 分支”,然后对本地分支进行了一些更改。我如何确定我最初分支的版本号?
I did a "bzr branch" from my team's bazaar repository and then committed some changes to my local branch. How can I determine what revision number I initially branched from?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
运行
bzrmissing URL/to/team/branch
并查看您和他们的修订版本的最低数量是多少(如果分支有分歧)。前一个数字是您的分支点。Run
bzr missing URL/to/team/branch
and see what's the lowest number of your and theirs revisions (in the case branches have diverged). Previous number is the point where from you branched.查看
bzr log
提交后的修订版本是您分支的版本。据我所知,Bazaar 并没有存储分支点。Look at
bzr log
the revision after your commits is the one you branched from. The branch point is not stored by Bazaar as far as I know.如果您团队的分支的名称与本地分支的名称不同,您可以运行
bzr log
并查看branch nick:
字段。带有您团队分支名称的第一个修订版是基本修订版。或者,您可以查看分支文件夹的创建日期。根据提交日志中的时间戳进行检查。
If your team's branch is named differently to your local branch, you can run
bzr log
and look at thebranch nick:
field. The first revision with your team's branch name is the base revision.Alternatively, you could look at the creation date of your branch folder. Check that against the timestamps in the commit log.