mercurial/crecord.py
branchstable
changeset 43458 117b41b1859d
parent 43364 dd64e229c46b
child 43459 7cc913396f8c
--- a/mercurial/crecord.py	Thu Nov 07 08:58:26 2019 +0100
+++ b/mercurial/crecord.py	Wed Nov 06 17:12:13 2019 +0100
@@ -1741,8 +1741,8 @@
         with self.ui.timeblockedsection(b'crecord'):
             response = self.confirmationwindow(confirmtext)
         if response is None:
-            response = b"n"
-        if response.lower().startswith(b"y"):
+            response = "n"
+        if response.lower().startswith("y"):
             return True
         else:
             return False