hgext/mq.py
changeset 16687 e34106fa0dc3
parent 16683 525fdb738975
child 16688 cfb6682961b8
equal deleted inserted replaced
16686:67964cda8701 16687:e34106fa0dc3
   320         self.guardsdirty = False
   320         self.guardsdirty = False
   321         # Handle mq.git as a bool with extended values
   321         # Handle mq.git as a bool with extended values
   322         try:
   322         try:
   323             gitmode = ui.configbool('mq', 'git', None)
   323             gitmode = ui.configbool('mq', 'git', None)
   324             if gitmode is None:
   324             if gitmode is None:
   325                 raise error.ConfigError()
   325                 raise error.ConfigError
   326             self.gitmode = gitmode and 'yes' or 'no'
   326             self.gitmode = gitmode and 'yes' or 'no'
   327         except error.ConfigError:
   327         except error.ConfigError:
   328             self.gitmode = ui.config('mq', 'git', 'auto').lower()
   328             self.gitmode = ui.config('mq', 'git', 'auto').lower()
   329         self.plainmode = ui.configbool('mq', 'plain', False)
   329         self.plainmode = ui.configbool('mq', 'plain', False)
   330 
   330