1. cvshg
  2. tcvshg

Commits

Angel Ezquerra  committed c506eab

hglib: fix handling of booleans on the tortoisehgtools function

Convert boolean string representatins into proper bools by using
util.parsebool().

  • Participants
  • Parent commits ca92849
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/util/hglib.py

View file
         if toolname not in tools:
             tools[toolname] = {}
             toolnames.append(toolname)
+        bvalue = util.parsebool(value)
+        if bvalue is not None:
+            value = bvalue
         tools[toolname][field] = value
     return tools, toolnames