rev-branch-cache: add a function to generate a part
The function is able to produce a rbc part consumed by the function introduced
into previous changesets. More details on usage and impact in the next
changesets.
#require docutils gettext $ $TESTDIR/check-gendoc da checking for parse errors