changeset 34195:5c150b70d004

configitems: register the 'mq.plain' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:43:16 +0200
parents cac8c4e51951
children b5bbfe176004
files hgext/mq.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Fri Jun 30 03:43:15 2017 +0200
+++ b/hgext/mq.py	Fri Jun 30 03:43:16 2017 +0200
@@ -118,6 +118,9 @@
 configitem('mq', 'keepchanges',
     default=False,
 )
+configitem('mq', 'plain',
+    default=False,
+)
 
 # force load strip extension formerly included in mq and import some utility
 try:
@@ -463,7 +466,7 @@
                 gitmode = 'no'
         self.gitmode = gitmode
         # deprecated config: mq.plain
-        self.plainmode = ui.configbool('mq', 'plain', False)
+        self.plainmode = ui.configbool('mq', 'plain')
         self.checkapplied = True
 
     @util.propertycache