comparison mercurial/url.py @ 16678:48b1674ac1e7 stable

templater: handle SyntaxError when parsing ui.logtemplate Before, Mercurial would crash with a traceback ending with SyntaxError: unmatched quotes if you configured [ui] logtemplate = {rev}\n The SyntaxError is now catched and the string is re-parsed without requiring quotes.
author Martin Geisler <martin@geisler.net>
date Sat, 12 May 2012 22:12:54 +0200
parents d30ec2d16c5a
children 525fdb738975
comparison
equal deleted inserted replaced
16652:2fdd1902ed2d 16678:48b1674ac1e7