Commits

Yuya Nishihara committed 1d9f349

commit: interpret linkmandatory option as bool (fixes #1875)

  • Participants
  • Parent commits c4cd325
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/commit.py

             self.msgte.setFocus()
             return
 
-        linkmandatory = self.repo.ui.config('tortoisehg',
-                                            'issue.linkmandatory', False)
+        linkmandatory = self.repo.ui.configbool('tortoisehg',
+                                                'issue.linkmandatory', False)
         if linkmandatory:
             issueregex = self.repo.ui.config('tortoisehg', 'issue.regex')
             if issueregex: