Submitter | phabricator |
---|---|
Date | March 5, 2019, 1:46 p.m. |
Message ID | <409d31ec157b3319a6f2dbc6ab6858b9@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/39064/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -20,6 +20,7 @@ encoding, error, patch as patchmod, + pycompat, scmutil, util, ) @@ -1667,6 +1668,7 @@ Return true to exit the main loop. """ + keypressed = pycompat.bytestr(keypressed) if keypressed in ["k", "KEY_UP"]: self.uparrowevent() if keypressed in ["K", "KEY_PPAGE"]: