def commit_link(self, commit_hash):
        """Creates a commit link for a commit in the current repository.

        Converts the local git commit to the corresponding hg commit, which is
        what was actually pushed.

        Args:
            commit_hash: String; the hash of the git commit we wish to link to.

        Returns:
            URI linking to the hg commit specific to the current project.

        Raises:
            GitRvException: If the commit hash is not containing in commit
                mapping.
        """
        commit_mapping = self.__commit_mapping()
        if commit_hash not in commit_mapping:
            msg = (commit_hash,) % GOOGLE_CODEHOSTING_HG_NO_MAPPING_TEMPLATE
            raise GitRvException(msg)
        hg_commit_hash = commit_mapping[commit_hash]

        return super(GoogleCodehostingHgRepositoryInfo, self).commit_link(
                hg_commit_hash)
dataset/ETHPy150Open googlearchive/git-rv/utils.py/GoogleCodehostingHgRepositoryInfo.commit_link/swapped operands of `%`