##// 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.
Durham Goode -
r30331:b19291e5 default
Show More
Name Size Modified Last Commit Author
/ contrib / debian
cacerts.rc Loading ...
changelog Loading ...
compat Loading ...
control Loading ...
copyright Loading ...
hgkpath.rc Loading ...
rules Loading ...