comparison mercurial/registrar.py @ 28628:ed1d90f6e921

templater: do not abuse SyntaxError to report errors in template map file SyntaxError is the class representing syntax errors in Python code. We should use a dedicated exception class for our needs. With this change, unnecessary re-wrapping of SyntaxError can be eliminated.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 26 Mar 2016 18:01:04 +0900
parents 009f58f1ea75
children 6b3b958daf03
comparison
equal deleted inserted replaced
28627:d7af9b4ae7dd 28628:ed1d90f6e921