From 1aae7422ae0c7888942e9d3b684ec0e3cbbd5843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 14 Jun 2010 16:18:45 +0200 Subject: [PATCH] add Repository.has_moved_to_git check --- module-tools.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.47.0