##// END OF EJS Templates
Add better error message for bad commands
Brendan Cully -
r3358:818598f5 default
parent child Browse files
Show More
@@ -767,7 +767,7 b' class hgweb(object):'
767 if method:
767 if method:
768 method(req)
768 method(req)
769 else:
769 else:
770 req.write(self.t("error"))
770 req.write(self.t("error", error='No such method: ' + cmd))
771
771
772 def changectx(self, req):
772 def changectx(self, req):
773 if req.form.has_key('node'):
773 if req.form.has_key('node'):
General Comments 0
You need to be logged in to leave comments. Login now