1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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):
def __init__(self):
VCS.__init__(self)
self.vcs_name = "svn"
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
|