changeset 48413:c6d00759dc2b

dirstate: remove unused method Its last usage was inlined in `merge.py`. Differential Revision: https://phab.mercurial-scm.org/D11849
author Raphaël Gomès <rgomes@octobus.net>
date Fri, 03 Dec 2021 15:06:40 +0100
parents 0b2469bf1227
children 1d940d76571b
files mercurial/dirstate.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Sat Dec 04 03:51:33 2021 +0100
+++ b/mercurial/dirstate.py	Fri Dec 03 15:06:40 2021 +0100
@@ -591,14 +591,6 @@
                 msg %= (pycompat.bytestr(d), pycompat.bytestr(filename))
                 raise error.Abort(msg)
 
-    def _get_filedata(self, filename):
-        """returns"""
-        s = os.lstat(self._join(filename))
-        mode = s.st_mode
-        size = s.st_size
-        mtime = timestamp.mtime_of(s)
-        return (mode, size, mtime)
-
     def _discoverpath(self, path, normed, ignoremissing, exists, storemap):
         if exists is None:
             exists = os.path.lexists(os.path.join(self._root, path))