Mercurial > hg
comparison mercurial/node.py @ 32593:e4d0b2efb8b5
hidden: remove unnecessary guard condition
The "if visible" guard is now pretty pointless, because the function
call it guards will do almost no work anyway when there are no visible
revisions.
We can also stop wrapping "visible" in a set since it just needs to be
an iterable now.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 30 May 2017 13:16:32 -0700 |
parents | bd872f64a8ba |
children | af854b1b36f8 |
comparison
equal
deleted
inserted
replaced
32592:c37ca35b8450 | 32593:e4d0b2efb8b5 |
---|