What bzr version did I branch from?

225 Views Asked by At

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?

3

There are 3 best solutions below

1
On BEST ANSWER

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.

2
On

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.

0
On

If your team's branch is named differently to your local branch, you can run bzr log and look at the branch 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.