fix typo
[build.git] / module-tools.py
index 52653ea..940e4b5 100755 (executable)
@@ -12,7 +12,15 @@ from optparse import OptionParser
 # a map of name changes applied in git repositories.
 RENAMED_SVN_MODULES = {
     "PLEWWW": "plewww",
-    "PLCAPI": "plcapi"
+    "PLCAPI": "plcapi",
+    "BootManager": "bootmanager",
+    "BootCD": "bootcd",
+    "VserverReference": "vserver-reference",
+    "BootstrapFS": "bootstrapfs",
+    "MyPLC": "myplc",
+    "CoDemux": "codemux",
+    "NodeManager": "nodemanager",
+    "NodeUpdate": "nodeupdate"
     }
 
 def svn_to_git_name(module):
@@ -359,7 +367,7 @@ class Repository:
 
     @classmethod
     def has_moved_to_git(cls, module, config):
-        module = git_to_svn_name(module)
+        module = svn_to_git_name(module)
         # 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))