Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/dirstate.py @ 47940:f89ac1ed2bc6
dirstate: drop the deprecated `normal` method
The method was deprecated in 5.9.
Differential Revision: https://phab.mercurial-scm.org/D11344
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 24 Aug 2021 21:08:09 +0200 |
parents | 84391ddf4c78 |
children | 50bed873a765 |
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py Tue Aug 24 22:07:50 2021 +0200 +++ b/mercurial/interfaces/dirstate.py Tue Aug 24 21:08:09 2021 +0200 @@ -132,18 +132,6 @@ def copies(): pass - def normal(f, parentfiledata=None): - """Mark a file normal and clean. - - parentfiledata: (mode, size, mtime) of the clean file - - parentfiledata should be computed from memory (for mode, - size), as or close as possible from the point where we - determined the file was clean, to limit the risk of the - file having been changed by an external process between the - moment where the file was determined to be clean and now.""" - pass - def normallookup(f): '''Mark a file normal, but possibly dirty.'''