From 978435014399fa00dc43c8da66e2e97df3354ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Sun, 29 May 2016 16:14:51 +0200 Subject: - don't clone all branches from svn - make sure to get all revisions when cloning - further adaptions to make tool more revision control agnostic - implement support for 'mgarepo up' for git-svn as well --- MgaRepo/svn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MgaRepo/svn.py') diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py index 3a74954..120c19c 100644 --- a/MgaRepo/svn.py +++ b/MgaRepo/svn.py @@ -12,10 +12,11 @@ class SVNLogEntry(VCSLogEntry): VCSLogEntry.__init__(self, revision, author, data) class SVN(VCS): + vcs_dirname = ".svn" def __init__(self): VCS.__init__(self) self.vcs_name = "svn" - self.vcs_command = config.get("global", "svn-command", "svn") + self.vcs_command = config.get("global", "svn-command", ["svn"]) self.env_defaults = {"SVN_SSH": self.vcs_wrapper} class SVNLook(VCSLook): -- cgit v1.2.1