Patch Set 1: I would prefer that you didn't submit this

The proper fix here is not to hide the warning, but to document the two show methods so implementors of subclasses to RevWalkTextBuiltin knows how to use them.