# HG changeset patch # User Steve Losh # Date 1255131235 14400 # Node ID 554175d9a71cabfc8426192f2a47734fdb685beb # Parent c983af6c02b1b5d3d1df2f878a2689ff331d3435 Print comments on skipped lines. diff -r c983af6c02b1 -r 554175d9a71c review/extension_ui.py --- a/review/extension_ui.py Fri Oct 09 19:27:43 2009 -0400 +++ b/review/extension_ui.py Fri Oct 09 19:33:55 2009 -0400 @@ -135,6 +135,12 @@ if n - 1 > previous_n: skipped = n - previous_n ui.write(messages.REVIEW_LOG_SKIPPED % skipped) + skipped_comments = filter( + lambda c: max(c.lines) in range(previous_n + 1, n), + line_level_comments + ) + for comment in skipped_comments: + _print_comment(comment) ui.write('%s %s\n' % (prefix % n, line))