def get_revision(self):
try:<EOL><INDENT>return self.run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL><DEDENT>except exc.CommandError:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
Return current revision. Initial repositories return 'initial'.