equal
deleted
inserted
replaced
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 |