hgext/mq.py
changeset 25827 0fdf2c304019
parent 25660 328739ea70c3
child 26098 ce26928cbe41
--- a/hgext/mq.py	Fri Jul 17 13:41:07 2015 -0500
+++ b/hgext/mq.py	Thu Jun 25 17:41:40 2015 -0500
@@ -430,7 +430,9 @@
             else:
                 self.gitmode = 'no'
         except error.ConfigError:
-            self.gitmode = ui.config('mq', 'git', 'auto').lower()
+            # let's have check-config ignore the type mismatch
+            self.gitmode = ui.config(r'mq', 'git', 'auto').lower()
+        # deprecated config: mq.plain
         self.plainmode = ui.configbool('mq', 'plain', False)
         self.checkapplied = True