[Request] [- ] D11849: dirstate: remove unused method
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Fri Dec 3 14:10:22 UTC 2021
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Its last usage was inlined in `merge.py`.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11849
AFFECTED FILES
mercurial/dirstate.py
CHANGE DETAILS
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -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))
To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20211203/3c6f3018/attachment.html>
More information about the Mercurial-patches
mailing list