Patchwork D2243: histedit: fix silly bug that was unpacking a bytestr before writing it

login
register
mail settings
Submitter phabricator
Date Feb. 14, 2018, 5:06 a.m.
Message ID <feb4ab4c0bca242c6da31b84891d0c0b@localhost.localdomain>
Download mbox | patch
Permalink /patch/27873/
State Not Applicable
Headers show

Comments

phabricator - Feb. 14, 2018, 5:06 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG28830ba50687: histedit: fix silly bug that was unpacking a bytestr before writing it (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2243?vs=5667&id=5679

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

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -491,7 +491,7 @@ 
         repo.dirstate.setbranch(rulectx.branch())
         if stats and stats[3] > 0:
             buf = repo.ui.popbuffer()
-            repo.ui.write(*buf)
+            repo.ui.write(buf)
             raise error.InterventionRequired(
                 _('Fix up the change (%s %s)') %
                 (self.verb, node.short(self.node)),