##// END OF EJS Templates
perftemplating: abort on incompatible version...
Boris Feld -
r38292:9df777d7 default
parent child Browse files
Show More
@@ -912,8 +912,8 b' def perfmoonwalk(ui, repo, **opts):'
912 def perftemplating(ui, repo, testedtemplate=None, **opts):
912 def perftemplating(ui, repo, testedtemplate=None, **opts):
913 """test the rendering time of a given template"""
913 """test the rendering time of a given template"""
914 if makelogtemplater is None:
914 if makelogtemplater is None:
915 ui.write_err('incompatible Mercurial version')
915 raise error.Abort(("perftemplating not available with this Mercurial"),
916 return 1
916 hint="use 4.3 or later")
917
917
918 nullui = ui.copy()
918 nullui = ui.copy()
919 nullui.fout = open(os.devnull, 'wb')
919 nullui.fout = open(os.devnull, 'wb')
General Comments 0
You need to be logged in to leave comments. Login now