comparison mercurial/streamclone.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 ed75909c4c67
children f32f8bf5dc4c
comparison
equal deleted inserted replaced
28627:d7af9b4ae7dd 28628:ed1d90f6e921