[Updated] D10532: git: ensure all dirstate state values are bytes

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon May 3 14:07:52 UTC 2021


Closed by commit rHG9cea55ca1175: git: ensure all dirstate state values are bytes (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10532?vs=27197&id=27438

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10532/new/

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

AFFECTED FILES
  hgext/git/dirstate.py

CHANGE DETAILS

diff --git a/hgext/git/dirstate.py b/hgext/git/dirstate.py
--- a/hgext/git/dirstate.py
+++ b/hgext/git/dirstate.py
@@ -63,7 +63,7 @@
         pygit2.GIT_STATUS_WT_RENAMED: b'a',
         pygit2.GIT_STATUS_WT_TYPECHANGE: b'n',
         pygit2.GIT_STATUS_WT_UNREADABLE: b'?',
-        pygit2.GIT_STATUS_INDEX_MODIFIED | pygit2.GIT_STATUS_WT_MODIFIED: 'm',
+        pygit2.GIT_STATUS_INDEX_MODIFIED | pygit2.GIT_STATUS_WT_MODIFIED: b'm',
     }
 
 



To: mharbison72, durin42, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210503/7d1adc91/attachment-0001.html>


More information about the Mercurial-patches mailing list