Patchwork D2504: py3: backout changeset 56635c506608 which wrongly added couple of b''

login
register
mail settings
Submitter phabricator
Date March 1, 2018, 9:35 a.m.
Message ID <6fe130affcdc8f392e8621864e21fbfc@localhost.localdomain>
Download mbox | patch
Permalink /patch/28533/
State Not Applicable
Headers show

Comments

phabricator - March 1, 2018, 9:35 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG45e443342934: py3: backout changeset 56635c506608 which wrongly added couple of b&#039;&#039; (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2504?vs=6204&id=6236

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

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(b'mandatory'):
+        if opts.get('mandatory'):
             records.append((b'X', b'mandatory record'))
-        if opts.get(b'advisory'):
+        if opts.get('advisory'):
             records.append((b'x', b'advisory record'))
         ms._writerecords(records)