Determine the current revision identifier for the working directory
        of this Repository

        Returns:
            str: revision identifier (``hg -q id -i``)

def current_id(self):
        """
        Determine the current revision identifier for the working directory
        of this Repository

        Returns:
            str: revision identifier (``hg -q id -i``)
        """
        cmd = ['hg', '-q', 'id', '-i']
        return self.sh(cmd, shell=False).rstrip().rstrip('+')