"bzr tags -r NNN" runs forever

Vincent Ladeuil vila+bzr at canonical.com
Fri Sep 23 13:02:25 UTC 2011


>>>>> Vincent Ladeuil <vila+bzr at canonical.com> writes:

>>>>> Eli Zaretskii <eliz at gnu.org> writes:
    >>> Date: Wed, 21 Sep 2011 19:27:19 +0200
    >>> From: Jelmer Vernooij <jelmer at samba.org>
    >>> CC: bazaar at lists.canonical.com, Jelmer Vernooij <vernooi1 at xs4all.nl>
    >>> 
    >>> > Show the tag, if any, in the given revision or range of revisions.
    >>> > But that's not based on anything, since the documentation doesn't tell
    >>> > anything about the effect of this switch.
    >>> That is indeed what it does, but it probably has to scan history in 
    >>> order to find that data which can take some time.

    >> If it takes 30 sec to find all the tags, how come it takes many
    >> minutes (at least 12) to find tags for a single revision?

    > Because it starts all over again for each tag, it's a bug. It's
    > noticeable on bzr itself once you specify a revision or a revision range
    > (truth is I never did that and looking at the annotations, the bug is
    > there since ages :-/).

    > Thanks for spotting it Eli,

Filed as http://pad.lv/857335, I'm testing a fix right now (but it will
need some polish).

      Vincent



More information about the bazaar mailing list