Commits

Yuya Nishihara  committed cf352c5

revdetails: use configbool to read issue.inlinetags setting

  • Participants
  • Parent commits 81f28b3

Comments (0)

Files changed (1)

File tortoisehg/hgqt/revdetails.py

         self.revpanel.set_revision(rev)
         self.revpanel.update(repo = self.repo)
         msg = ctx.description()
-        inlinetags = self.repo.ui.config('tortoisehg', 'issue.inlinetags', False)
-        if inlinetags == 'False':
-            inlinetags = False
+        inlinetags = self.repo.ui.configbool('tortoisehg', 'issue.inlinetags')
         if ctx.tags() and inlinetags:
             msg = ' '.join(['[%s]' % tag for tag in ctx.tags()]) + ' ' + msg
         self.message.setHtml('<pre>%s</pre>'