def get_requirement_revision(cls, repo_dir):
        # type: (str) -> str
        """
        Return the revision string that should be used in a requirement.
        """
        return cls.get_revision(repo_dir)

        Return the revision string that should be used in a requirement.
        
product/gradle-plugin/src/main/python/pip/_internal/vcs/versioncontrol.py