FAQ
*** Submitted as
http://code.google.com/p/go/source/detail?r=6d3a917d2b85 ***

codereview.py: correct error handling without decorator

The decorator hides the number of function arguments from Mercurial,
so Mercurial cannot give proper error messages about commands
invoked with the wrong 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.

R=adg, rsc
CC=golang-dev
http://codereview.appspot.com/6488059

Committer: Russ Cox <rsc@golang.org>


http://codereview.appspot.com/6488059/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 1, '12 at 11:55p
activeSep 1, '12 at 11:55p
posts1
users1
websitegolang.org

1 user in discussion

Rsc: 1 post

People

Translate

site design / logo © 2022 Grokbase