Mercurial > public > mercurial-scm > hg
diff mercurial/interfaces/dirstate.py @ 50208:3f3fca243dca
dirstate: drop `identity` from the public API
We no longer needs it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 22 Feb 2023 02:08:11 +0100 |
parents | 76d44983a398 |
children | a6e0b7d4ae9d |
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py Thu Feb 23 15:32:27 2023 +0100 +++ b/mercurial/interfaces/dirstate.py Wed Feb 22 02:08:11 2023 +0100 @@ -166,13 +166,6 @@ def rebuild(parent, allfiles, changedfiles=None): pass - def identity(): - """Return identity of dirstate itself to detect changing in storage - - If identity of previous dirstate is equal to this, writing - changes based on the former dirstate out can keep consistency. - """ - def write(tr): pass