sidedata: adjust string for python3
This was pointed out by Gregory Szorc: Python 3 will require a r'' because of
source transformation.
Differential Revision: https://phab.mercurial-scm.org/D6968
--- a/mercurial/revlogutils/sidedata.py Fri Oct 04 18:33:54 2019 +0100
+++ b/mercurial/revlogutils/sidedata.py Fri Oct 04 17:07:00 2019 -0400
@@ -49,8 +49,8 @@
SD_TEST7 = 7
# internal format constant
-SIDEDATA_HEADER = struct.Struct('>H')
-SIDEDATA_ENTRY = struct.Struct('>HL20s')
+SIDEDATA_HEADER = struct.Struct(r'>H')
+SIDEDATA_ENTRY = struct.Struct(r'>HL20s')
def sidedatawriteprocessor(rl, text, sidedata):
sidedata = list(sidedata.items())