scmutil: extract function that builds revset expr to select bookmark branch
This is needed to process "log -B" option properly. "log" options have to
be translated to a revset expression, not to an evaluated set.
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors