parameters: (cls, location)
return_statement: return current_revision
docstring: Return the repository-local changeset revision number, as an integer.
docstring_summary: Return the repository-local changeset revision number, as an integer.
docstring_tokens: Return the repository - local changeset revision number as an integer .
function: def get_revision(cls, location):
          # type: (str) -> str
          """
          Return the repository-local changeset revision number, as an integer.
          """
          current_revision = cls.run_command(
              ['parents', '--template={rev}'],
              show_stdout=False,
              stdout_only=True,
              cwd=location,
          ).strip()
          return current_revision
function_tokens: def get_revision ( cls , location ) : # type: (str) -> str current_revision = cls . run_command ( [ 'parents' , '--template={rev}' ] , show_stdout = False , stdout_only = True , cwd = location , ) . strip ( ) return current_revision