# HG changeset patch # User Pierre-Yves David # Date 2021-07-19 00:05:24 # Node ID b492bc0180116d9a0a51f4849ae175107546978a # Parent 3148204e649e6a3560d8c9c4c28e4c60e789cc3c keyword: use `set_clean` instead of `normal` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11153 diff --git a/hgext/keyword.py b/hgext/keyword.py --- a/hgext/keyword.py +++ b/hgext/keyword.py @@ -356,7 +356,7 @@ class kwtemplater(object): 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)