Merge lp://staging/~pr0gg3d/loggerhead/annotate_comment_notpresent_812583 into lp://staging/loggerhead
Proposed by
Francesco Del Degan
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~pr0gg3d/loggerhead/annotate_comment_notpresent_812583 |
Merge into: | lp://staging/loggerhead |
Diff against target: |
58 lines (+17/-6) 2 files modified
loggerhead/controllers/annotate_ui.py (+5/-1) loggerhead/tests/test_controllers.py (+12/-5) |
To merge this branch: | bzr merge lp://staging/~pr0gg3d/loggerhead/annotate_comment_notpresent_812583 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Needs Fixing | ||
Review via email: mp+70825@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2011-08-09.
Description of the change
Fixes bug #812583 that raises an exception when annotating some lines where commit message is not present.
It catch that exception (IndexError) and put the message as empty string.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/9/2011 9:38 AM, Francesco Del Degan wrote: reviewers) /bugs.launchpad .net/loggerhead /+bug/812583 /code.launchpad .net/~pr0gg3d/ loggerhead/ annotate_ comment_ notpresent_ 812583/ +merge/ 70825
> Francesco Del Degan has proposed merging
> lp:~pr0gg3d/loggerhead/annotate_comment_notpresent_812583 into
> lp:loggerhead.
>
> Requested reviews: Loggerhead Reviewers (loggerhead-
> Related bugs: Bug #812583 in loggerhead: "IndexError in
> add_template_values in loggerhead annotate"
> https:/
>
> For more details, see:
> https:/
>
> Fixes bug #812583 that raises an exception when annotating some
> lines where commit message is not present.
>
> It catch that exception (IndexError) and put the message as empty
> string.
Would it be possible to add a test for this bug? It shouldn't be too
hard to generate a commit without a comment and make sure that annotate
doesn't explode.
review: needsfixing
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
BAssACgkQJdeBCY SNAAMHMQCfYppjU 8zVAVDBZrKwHoLk LZm5 yQB/+FmHSOWKfqW z93AJWSFT
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk5
m90AniY/
=hjCf
-----END PGP SIGNATURE-----