(cls, location)
return current_revision
Return the repository-local changeset revision number, as an integer.
Return the repository-local changeset revision number, as an integer.
Return the repository - local changeset revision number as an integer .
def get_revision(cls, location):
        """
        Return the repository-local changeset revision number, as an integer.
        """
        current_revision = cls.run_command(
            ['parents', '--template={rev}'],
            show_stdout=False, cwd=location).strip()
        return current_revision
def get_revision ( cls , location ) : current_revision = cls . run_command ( [ 'parents' , '--template={rev}' ] , show_stdout = False , cwd = location ) . strip ( ) return current_revision