/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-01-27 18:43:45 UTC
  • mfrom: (3961.1.2 bzr.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090127184345-wkncpsyxov2citpy
(vila) Fix bug #314525: don't try to put ids if there is no annotation

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
 
152
152
 
153
153
def _show_id_annotations(annotations, to_file, full):
 
154
    if not annotations:
 
155
        return
154
156
    last_rev_id = None
155
157
    max_origin_len = max(len(origin) for origin, text in annotations)
156
158
    for origin, text in annotations: