headrev = pysvn.Revision(pysvn.opt_revision_kind.head)
revlog = svnclient.log(url, revision_start=headrev, revision_end=headrev,
    discover_changed_paths=False)
Get HEAD revision number of SVN Repository with PYSVN