comparison mercurial/interfaces/dirstate.py @ 47909: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
comparison
equal deleted inserted replaced
47908:74a8d5c6fdc6 47909:f89ac1ed2bc6
130 pass 130 pass
131 131
132 def copies(): 132 def copies():
133 pass 133 pass
134 134
135 def normal(f, parentfiledata=None):
136 """Mark a file normal and clean.
137
138 parentfiledata: (mode, size, mtime) of the clean file
139
140 parentfiledata should be computed from memory (for mode,
141 size), as or close as possible from the point where we
142 determined the file was clean, to limit the risk of the
143 file having been changed by an external process between the
144 moment where the file was determined to be clean and now."""
145 pass
146
147 def normallookup(f): 135 def normallookup(f):
148 '''Mark a file normal, but possibly dirty.''' 136 '''Mark a file normal, but possibly dirty.'''
149 137
150 def otherparent(f): 138 def otherparent(f):
151 '''Mark as coming from the other parent, always dirty.''' 139 '''Mark as coming from the other parent, always dirty.'''