From 18a63818b75c1ed7430ae38cc61f62be64064883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Sat, 9 Jul 2016 02:42:17 +0200 Subject: verify remote repository url at beginning of init() --- MgaRepo/git.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MgaRepo/git.py b/MgaRepo/git.py index ae2db6e..ab89b25 100644 --- a/MgaRepo/git.py +++ b/MgaRepo/git.py @@ -53,6 +53,9 @@ class GIT(VCS): return self.update(targetpath, clone=True, **kwargs) def init(self, url, targetpath, fullnames=True, **kwargs): + # verify repo url + execcmd("svn", "info", url) + topurl = dirname(url) trunk = basename(url) tags = "releases" -- cgit v1.2.1