mercurial/util.py
changeset 32749 b5524fd9a4e3
parent 32746 77f354ae1123
child 32772 7ad95626f6a7
--- a/mercurial/util.py	Fri Jun 09 12:58:18 2017 +0900
+++ b/mercurial/util.py	Fri Jun 09 13:07:48 2017 +0900
@@ -1525,6 +1525,10 @@
                     self.stat.st_ctime == old.stat.st_ctime and
                     self.stat.st_mtime == old.stat.st_mtime)
         except AttributeError:
+            pass
+        try:
+            return self.stat is None and old.stat is None
+        except AttributeError:
             return False
 
     def isambig(self, old):