hgext/mq.py
changeset 37521 2d00058ac2f8
parent 37520 fa6cdd6668e1
child 37522 58230f4fcc0b
--- a/hgext/mq.py	Tue Apr 10 18:55:35 2018 +0530
+++ b/hgext/mq.py	Tue Apr 10 18:56:19 2018 +0530
@@ -677,7 +677,7 @@
             write = self.ui.warn
 
         if all_patches or self.ui.verbose:
-            if isinstance(idx, str):
+            if isinstance(idx, bytes):
                 idx = self.series.index(idx)
             pushable, why = self.pushable(idx)
             if all_patches and pushable: