##// END OF EJS Templates
manifest: add __nonzero__ method...
manifest: add __nonzero__ method This adds a __nonzero__ method to manifestdict. This isn't strictly necessary in the vanilla Mercurial implementation, since Python will handle nonzero checks by using __len__, but having it implemented here makes it easier for alternative implementations to implement __nonzero__ and have them be plug-n-play with the normal implementation.

File last commit:

r16438:28a90cdf default
r30331:b19291e5 default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer