# HG changeset patch # User Steve Losh # Date 1265456340 18000 # Node ID 474bb295c5f86f97a4b9ea4f6ab9e040f2396033 # Parent b30379368b53ed59fb74ca5588cac091657ea506 Show comments on skipped hunks at the end of files. diff -r b30379368b53 -r 474bb295c5f8 review/extension_ui.py --- a/review/extension_ui.py Sat Feb 06 06:38:19 2010 -0500 +++ b/review/extension_ui.py Sat Feb 06 06:39:00 2010 -0500 @@ -207,6 +207,12 @@ if previous_n < max_line: skipped = max_line - previous_n ui.write(messages.REVIEW_LOG_SKIPPED % skipped) + skipped_comments = filter( + lambda c: max(c.lines) in range(previous_n + 1, max_line), + line_level_comments + ) + for comment in skipped_comments: + _print_comment(comment)