author | Augie Fackler <augie@google.com> |
Wed, 16 Jan 2019 10:58:09 -0500 | |
changeset 41251 | beb0d944a99b |
parent 41250 | 8a6995513d9a |
child 41252 | a495435d980e |
--- a/hgext/remotefilelog/remotefilelog.py Wed Jan 16 10:57:38 2019 -0500 +++ b/hgext/remotefilelog/remotefilelog.py Wed Jan 16 10:58:09 2019 -0500 @@ -196,6 +196,8 @@ def __nonzero__(self): return True + __bool__ = __nonzero__ + def __len__(self): if self.filename == '.hgtags': # The length of .hgtags is used to fast path tag checking.