diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-07-09 02:42:17 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-07-09 02:42:17 +0200 |
commit | 18a63818b75c1ed7430ae38cc61f62be64064883 (patch) | |
tree | 0016cc0ccdee24cc6f60d28ef732ebafe1cceb84 | |
parent | 800d469cf1c714ef40d53c42431b232209fdc470 (diff) | |
download | mgarepo-18a63818b75c1ed7430ae38cc61f62be64064883.tar mgarepo-18a63818b75c1ed7430ae38cc61f62be64064883.tar.gz mgarepo-18a63818b75c1ed7430ae38cc61f62be64064883.tar.bz2 mgarepo-18a63818b75c1ed7430ae38cc61f62be64064883.tar.xz mgarepo-18a63818b75c1ed7430ae38cc61f62be64064883.zip |
verify remote repository url at beginning of init()
-rw-r--r-- | MgaRepo/git.py | 3 |
1 files changed, 3 insertions, 0 deletions
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" |