just check git repository to see if the module is moved to git. we
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 1 Jul 2010 15:29:06 +0000 (17:29 +0200)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 1 Jul 2010 15:29:06 +0000 (17:29 +0200)
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

index a6a7961..70e2d10 100755 (executable)
@@ -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