from MgaRepo.util import execcmd from MgaRepo.VCS import * import sys import os import re import time __all__ = ["SVN", "SVNLook", "SVNLogEntry"] class SVNLogEntry(VCSLogEntry): def __init__(self, revision, author, date): VCSLogEntry.__init__(self, revision, author, data) class SVN(VCS): vcs_dirname = ".svn" vcs_name = "svn" def __init__(self, path=None, url=None): VCS.__init__(self, path, url) self.vcs_command = config.get("global", "svn-command", ["svn"]) self.env_defaults = {"SVN_SSH": self.vcs_wrapper} class SVNLook(VCSLook): def __init__(self, repospath, txn=None, rev=None): VCSLook.__init__(self, repospath, txn, rev) self.execcmd = "svnlook" # vim:et:ts=4:sw=4