diff tests/testlib/ext-sidedata.py @ 45735:edf4fa06df94

upgrade: allow sidedata upgrade to modify revision flag In the process, we fix the lack of HAS_COPIES_INFO flag on upgrade, and test the results. Differential Revision: https://phab.mercurial-scm.org/D9199
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 13 Oct 2020 05:14:37 +0200
parents d7dcc75a3eae
children f105c49e89cd
line wrap: on
line diff
--- a/tests/testlib/ext-sidedata.py	Tue Oct 13 03:30:49 2020 +0200
+++ b/tests/testlib/ext-sidedata.py	Tue Oct 13 05:14:37 2020 +0200
@@ -70,7 +70,7 @@
             # and sha2 hashes
             sha256 = hashlib.sha256(text).digest()
             update[sidedata.SD_TEST2] = struct.pack('>32s', sha256)
-            return False, (), update
+            return False, (), update, 0, 0
 
     return sidedatacompanion