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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Apr 5 19:44:28 EDT 2018


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

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']
 



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


More information about the Mercurial-devel mailing list