cmdutil: minor refactoring of changeset_printer._show
- use ctx.branch() instead of directly accessing the extra field "branch"
- move definitions of locals ('extra' and 'branch') down to where they
are used
% extracting documentation from C
checking for parse errors with rst2html
% extracting documentation from da
checking for parse errors with rst2html
% extracting documentation from de
checking for parse errors with rst2html
% extracting documentation from el
checking for parse errors with rst2html
% extracting documentation from fr
checking for parse errors with rst2html
% extracting documentation from it
checking for parse errors with rst2html
% extracting documentation from ja
checking for parse errors with rst2html
% extracting documentation from pt_BR
checking for parse errors with rst2html
% extracting documentation from sv
checking for parse errors with rst2html
% extracting documentation from zh_CN
checking for parse errors with rst2html
% extracting documentation from zh_TW
checking for parse errors with rst2html