From 449af2d7054ff48220e99b0df0ffe699e2b7805b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 1 Jul 2010 17:29:06 +0200 Subject: [PATCH] just check git repository to see if the module is moved to git. we don't need the special 'aaaa-has-moved-to-git' file as we don't have any modules active both on git and svn now. --- module-tools.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/module-tools.py b/module-tools.py index a6a79610..70e2d102 100755 --- a/module-tools.py +++ b/module-tools.py @@ -356,11 +356,9 @@ class Repository: @classmethod def has_moved_to_git(cls, module, config): module = git_to_svn_name(module) - ret = SvnRepository.remote_exists("%s/%s/aaaa-has-moved-to-git" % (config['svnpath'], module)) - if not ret: - # check if the module is already in Git - return GitRepository.remote_exists(Module.git_remote_dir(module)) - return ret + # check if the module is already in Git +# return SvnRepository.remote_exists("%s/%s/aaaa-has-moved-to-git" % (config['svnpath'], module)) + return GitRepository.remote_exists(Module.git_remote_dir(module)) @classmethod -- 2.43.0