# HG changeset patch # User FUJIWARA Katsunori # Date 1464882260 -32400 # Node ID 82f6193ff2bc26dc1824cbcea40895350edee69d # Parent 50fef8252820d19b0e7a3021bf0f4523379d6460 util: add __ne__ to filestat class for consistency This is follow up for ca4065028e00, which introduced filestat class. diff -r 50fef8252820 -r 82f6193ff2bc mercurial/util.py --- a/mercurial/util.py Sat Apr 16 16:01:24 2016 -0700 +++ b/mercurial/util.py Fri Jun 03 00:44:20 2016 +0900 @@ -1455,6 +1455,9 @@ except AttributeError: return False + def __ne__(self, other): + return not self == other + class atomictempfile(object): '''writable file object that atomically updates a file