aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/svn.py
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-29 16:14:51 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-29 16:14:51 +0200
commit978435014399fa00dc43c8da66e2e97df3354ec4 (patch)
treea1d36012b6ce5d1c6f2712c973725fb2439e1c57 /MgaRepo/svn.py
parent9a1ce9d9737c2dccf05db6febe3393135fb35eb7 (diff)
downloadmgarepo-978435014399fa00dc43c8da66e2e97df3354ec4.tar
mgarepo-978435014399fa00dc43c8da66e2e97df3354ec4.tar.gz
mgarepo-978435014399fa00dc43c8da66e2e97df3354ec4.tar.bz2
mgarepo-978435014399fa00dc43c8da66e2e97df3354ec4.tar.xz
mgarepo-978435014399fa00dc43c8da66e2e97df3354ec4.zip
- 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
Diffstat (limited to 'MgaRepo/svn.py')
-rw-r--r--MgaRepo/svn.py3
1 files changed, 2 insertions, 1 deletions
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):