changeset 47711:b492bc018011

keyword: use `set_clean` instead of `normal` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11153
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Jul 2021 02:05:24 +0200
parents 3148204e649e
children 95b864a670df
files hgext/keyword.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Mon Jul 19 01:58:34 2021 +0200
+++ b/hgext/keyword.py	Mon Jul 19 02:05:24 2021 +0200
@@ -356,7 +356,7 @@
                 fp.write(data)
                 fp.close()
                 if kwcmd:
-                    self.repo.dirstate.normal(f)
+                    self.repo.dirstate.set_clean(f)
                 elif self.postcommit:
                     self.repo.dirstate.normallookup(f)