diff tests/simplestorerepo.py @ 42876:db4af1cb128a

flagprocessors: use _processflagswrite for write operation There are no ambiguity for 'write' operation so it is simple to replace. Differential Revision: https://phab.mercurial-scm.org/D6801
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 30 Aug 2019 19:07:49 +0200
parents 705428da231f
children 38c62272f462
line wrap: on
line diff
--- a/tests/simplestorerepo.py	Fri Aug 30 18:54:36 2019 +0200
+++ b/tests/simplestorerepo.py	Fri Aug 30 19:07:49 2019 +0200
@@ -452,7 +452,7 @@
         if flags:
             node = node or storageutil.hashrevisionsha1(text, p1, p2)
 
-        rawtext, validatehash = self._processflags(text, flags, 'write')
+        rawtext, validatehash = self._processflagswrite(text, flags)
 
         node = node or storageutil.hashrevisionsha1(text, p1, p2)