Patchwork D6968: sidedata: adjust string for python3

login
register
mail settings
Submitter phabricator
Date Oct. 4, 2019, 9:42 p.m.
Message ID <0c7031b1e3ea56b88346952ac042e67b@localhost.localdomain>
Download mbox | patch
Permalink /patch/41964/
State Not Applicable
Headers show

Comments

phabricator - Oct. 4, 2019, 9:42 p.m.
Closed by commit rHGc348d829d23a: sidedata: adjust string for python3 (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6968?vs=16810&id=16811

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6968/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6968

AFFECTED FILES
  mercurial/revlogutils/sidedata.py

CHANGE DETAILS




To: marmoute, indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/revlogutils/sidedata.py b/mercurial/revlogutils/sidedata.py
--- a/mercurial/revlogutils/sidedata.py
+++ b/mercurial/revlogutils/sidedata.py
@@ -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())