bzr heads help

Alexander Belchenko bialix at ukr.net
Tue Aug 30 06:56:27 UTC 2011


30.08.2011 8:21, David Muir пишет:
> Two issues:
> 
> 1. I noticed that running bzr heads --all on a relatively small
> repository (~1800 revs) takes quite a long time:
> 
> $ bzr heads --all --debug-time
> get heads: 0.134533882141
> make head marks: 79.3243851662
> 
> Fetching just the live heads takes just as long.
> Is it supposed to be that slow?

Most likely you'd get similar time if you run `bzr branches` in your
location.

> 2. What is the difference between live and dead heads? My guess is that
> a live head is one that exists in a branch, but has not been merged into
> any other branch?

live head -- exists in the branch as branch tip.

dead head -- tip revision not in the branch.

Dead head created by `bzr uncommit`, `bzr merge && bzr revert` or `bzr
pull --overwrite` (losing your local history). The purpose of `heads`
command is to be able to find revision ids for lost revisions.



More information about the bazaar mailing list