##// 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:

r28989:a8256e37 stable
r30331:b19291e5 default
Show More
changelog
5 lines | 158 B | text/plain | TextLexer
mercurial (__VERSION__) __CODENAME__; urgency=medium
* Automated build performed by upstream.
-- Mercurial Devel <mercurial-devel@selenic.com> __DATE__