mercurial/templater.py
changeset 18893 74ea61318ea8
parent 18889 8c64c4af21a4
child 18970 3cdb6f2f6789
--- a/mercurial/templater.py	Tue Apr 09 09:40:40 2013 -0700
+++ b/mercurial/templater.py	Tue Apr 09 21:38:08 2013 -0700
@@ -66,10 +66,7 @@
                     break
                 pos += 1
             sym = program[s:pos]
-            try:
-                yield ('string', str(int(sym)), s)
-            except ValueError:
-                yield ('symbol', sym, s)
+            yield ('symbol', sym, s)
             pos -= 1
         elif c == '}':
             pos += 1