From: Barış Metin Date: Mon, 14 Jun 2010 14:18:45 +0000 (+0200) Subject: add Repository.has_moved_to_git check X-Git-Tag: 5.0-rc11~61 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1aae7422ae0c7888942e9d3b684ec0e3cbbd5843;p=build.git add Repository.has_moved_to_git check --- diff --git a/module-tools.py b/module-tools.py index ce2f90bf..ac4deb6c 100755 --- a/module-tools.py +++ b/module-tools.py @@ -232,6 +232,10 @@ class Repository: if self.repo.is_valid(): break + @classmethod + def has_moved_to_git(cls, remote): + return SvnRepository.remote_exists("%s/aaaa-has-moved-to-git") + @classmethod def remote_exists(cls, remote): for repo in Repository.supported_repo_types: