'Parse and validate a revision path.'

def __init__(self, path, **options):

    super(RevisionSource, self).__init__(path, **options)
    try:
        (self.locale, self.slug, self.revision_id) = self.split_path(path)
    except ValueError as exception:
        logger.warn(exception)
        self.state = self.STATE_ERROR
