There is no such thing as "origin" source repo in mercurial, so that line will fail.
The branch_param variable is needed because in pull/clone operations branches are specified in the --branch parameter, whereas in update operation they do not need the --branch part.
There is no such thing as "origin" source repo in mercurial, so that line will fail. The branch_param variable is needed because in pull/clone operations branches are specified in the --branch parameter, whereas in update operation they do not need the --branch part.