'Extract a revision parameters from a path.'

@classmethod
def split_path(cls, path):

    match = cls.re_path.match(path)
    if match:
        (locale, slug, raw_rev_id) = match.groups()
        return (locale, slug, int(raw_rev_id))
    else:
        raise ValueError((u'Not    a    valid    revision    path:    %s' % path))
