merge: check argument value with if/raise instead of an assert
This shouldn't make any difference for legal code, but it'll prevent
the assertion from being optimized out if someone decides to do -O on
our code.
Differential Revision: https://phab.mercurial-scm.org/D6879
{header}
<title>{repo|escape}: branches</title>
<description>{repo|escape} branch history</description>
{entries%branchentry}
</channel>
</rss>