diff mercurial/cmdutil.py @ 35545:349bcd7fa670

log: remove redundant handling of --limit A returned 'revs' set is pre-filtered by cmdutil.getlogrevs(). The result of displayer.flush() isn't used anymore, so removed.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 22 Oct 2017 22:38:16 +0900
parents 8494944940e5
children b6dbc860570d
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Sun Oct 22 23:04:07 2017 +0900
+++ b/mercurial/cmdutil.py	Sun Oct 22 22:38:16 2017 +0900
@@ -1585,8 +1585,6 @@
         if rev in self.hunk:
             self.ui.write(self.hunk[rev])
             del self.hunk[rev]
-            return 1
-        return 0
 
     def close(self):
         if self.footer: