Commit c547737
committed
annotate.py: Temporary debug prints in hunk_tokens_for_type()
Those are intended to find the source of the error that sometimes
do appear when using 'diff-annotate from-repo'.
File "src/diffannotator/annotate.py", line 1015, in hunk_tokens_for_type
result[hunk_line_no] = tokens_list[line_no - 1]
~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 01 parent b09b9da commit c547737
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | | - | |
1015 | | - | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1016 | 1027 | | |
1017 | 1028 | | |
1018 | 1029 | | |
| |||
0 commit comments