Patchwork D3141: mq: avoid a silly conversion from binary nodeid to hex

login
register
mail settings
Submitter phabricator
Date April 5, 2018, 11:44 p.m.
Message ID <14cc69610e4e3a0fed66e5b9bd0db009@localhost.localdomain>
Download mbox | patch
Permalink /patch/30412/
State Not Applicable
Headers show

Comments

phabricator - April 5, 2018, 11:44 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG76823340a899: mq: avoid a silly conversion from binary nodeid to hex (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3141?vs=7746&id=7759

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

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1664,7 +1664,7 @@ 
             cparents = repo.changelog.parents(top)
             patchparent = self.qparents(repo, top)
 
-            inclsubs = checksubstate(repo, hex(patchparent))
+            inclsubs = checksubstate(repo, patchparent)
             if inclsubs:
                 substatestate = repo.dirstate['.hgsubstate']