Descriptioncodereview.py: Better error handling.
Raise Abort() exceptions instead of returning strings that are converted into Abort()s by the hgcommand() decorator.
This gives us back proper error messages for incorrect number of arguments.
Left a 'dummy' hgcommand decorator in place as a way to document what functions are hg commands, and just in case we need some other kind of hack in the future.
Patch Set 1 #Patch Set 2 : diff -r e6da0262840c https://go.googlecode.com/hg/ #Patch Set 3 : diff -r e6da0262840c https://go.googlecode.com/hg/ #Patch Set 4 : diff -r e6da0262840c https://go.googlecode.com/hg/ #Patch Set 5 : diff -r e6da0262840c https://go.googlecode.com/hg/ #Patch Set 6 : diff -r e6da0262840c https://go.googlecode.com/hg/ #MessagesTotal messages: 5
|