def find_revision_id(self, revision=None):
<EOL>self.create()<EOL>revision = revision or self.default_revision<EOL>output = self.context.capture('<STR_LIT>', '<STR_LIT:id>', '<STR_LIT>' % revision, '<STR_LIT>', '<STR_LIT>').rstrip('<STR_LIT:+>')<EOL>return self.ensure_hexadecimal_string(output, '<STR_LIT>')<EOL>
Find the global revision id of the given revision.