From: Barış Metin Date: Thu, 1 Jul 2010 15:29:06 +0000 (+0200) Subject: just check git repository to see if the module is moved to git. we X-Git-Tag: 5.0-rc12~57 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=449af2d7054ff48220e99b0df0ffe699e2b7805b;p=build.git 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. --- 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