Patchwork D2262: py3: add couple of missing b'' in fakemergerecord.py

login
register
mail settings
Submitter phabricator
Date Feb. 14, 2018, 1:42 p.m.
Message ID <0ca922b9ba041bb6f667940c28619df9@localhost.localdomain>
Download mbox | patch
Permalink /patch/27916/
State Not Applicable
Headers show

Comments

phabricator - Feb. 14, 2018, 1:42 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG56635c506608: py3: add couple of missing b&#039;&#039; in fakemergerecord.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2262?vs=5702&id=5716

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

AFFECTED FILES
  tests/fakemergerecord.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/fakemergerecord.py b/tests/fakemergerecord.py
--- a/tests/fakemergerecord.py
+++ b/tests/fakemergerecord.py
@@ -19,8 +19,8 @@ 
     with repo.wlock():
         ms = merge.mergestate.read(repo)
         records = ms._makerecords()
-        if opts.get('mandatory'):
+        if opts.get(b'mandatory'):
             records.append((b'X', b'mandatory record'))
-        if opts.get('advisory'):
+        if opts.get(b'advisory'):
             records.append((b'x', b'advisory record'))
         ms._writerecords(records)