mercurial/dirstate.py
changeset 32772 7ad95626f6a7
parent 32750 b698921ee137
child 33215 b7f6885cb055
--- a/mercurial/dirstate.py	Sat Jun 10 14:07:31 2017 -0700
+++ b/mercurial/dirstate.py	Sat Jun 10 14:09:54 2017 -0700
@@ -432,7 +432,8 @@
         self._map = {}
         self._copymap = {}
         # ignore HG_PENDING because identity is used only for writing
-        self._identity = util.filestat(self._opener.join(self._filename))
+        self._identity = util.filestat.frompath(
+            self._opener.join(self._filename))
         try:
             fp = self._opendirstatefile()
             try: