mercurial/templatefilters.py
changeset 36831 82af07e1ae16
parent 36830 71f189941791
child 36920 6ff6e1d6b5b8
--- a/mercurial/templatefilters.py	Tue Mar 06 07:15:01 2018 -0600
+++ b/mercurial/templatefilters.py	Tue Mar 06 07:16:41 2018 -0600
@@ -349,7 +349,7 @@
     is not a valid bisection status.
     """
     if label:
-        return label[0].upper()
+        return label[0:1].upper()
     return ' '
 
 @templatefilter('shortdate')