[jhbuild] checkbranches: fix fallout of moduleset reorg



commit 2d806af2c3bb1566e65f646923457c86e1a40293
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Sun Sep 25 11:28:25 2011 +0200

    checkbranches: fix fallout of moduleset reorg

 jhbuild/commands/checkbranches.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/commands/checkbranches.py b/jhbuild/commands/checkbranches.py
index d1c0b33..d1bf7b8 100644
--- a/jhbuild/commands/checkbranches.py
+++ b/jhbuild/commands/checkbranches.py
@@ -41,7 +41,9 @@ class cmd_checkbranches(Command):
                 branch = config.moduleset[0].replace('.', '-')
             else:
                 branch = config.moduleset.replace('.', '-')
-            branch = branch.replace('gnome-suites-', 'gnome-')
+            for prefix in ('gnome-suites-core-deps', 'gnome-suites-core',
+                           'gnome-suites-', 'gnome-apps-'):
+                branch = branch.replace(prefix, 'gnome-')
 
         module_set = jhbuild.moduleset.load(config)
         module_list = module_set.get_module_list(args or config.modules)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]