rules.mako: indent control flow
[invirt/scripts/git-migration.git] / rules.mako
index f46b9d1..e3b8e9c 100644 (file)
@@ -1,6 +1,5 @@
 <%
     packages = [line.strip() for line in open('package-list')]
-    packages.append('packages/xvm-console-devconfig')
     repos = packages
     packages = [package[len('packages/'):] for package in packages]
 
         ('/package_tags/sipb-xen-dev/14/sipb-xen-dev/', 462),
         ('/package_tags/sipb-xen-dev/14/', 463),
         ('/trunk/packages/sipb-xen-autoinstaller/', 742),
+        ('/trunk/packages/invirt-console-server/', 1201),
+        ('/trunk/packages/xvm-prodconfig/', 1455),
+        ('/trunk/packages/invirt-xen-config/', 1757),
+        ('/trunk/packages/invirt-console/', 1819),
+        ('/trunk/scripts/prod-migration/', 1864),
+        ('/trunk/packages/invirt-dhcp/', 1904),
     ]
 
     merges = []
@@ -111,15 +116,15 @@ end match
 
 % for package in packages:
 
-% if package == 'sipb-xen-database':
+%   if package == 'sipb-xen-database':
 match /trunk/packages/${package}/${package}-0/
   repository ${get_repo(package)}
   branch ${get_branch(package)}
   max revision 8
 end match
-% endif
+%   endif
 
-% if package in doubled_packages:
+%   if package in doubled_packages:
 match /trunk/packages/${package}/${package}/
   repository ${get_repo(package)}
   branch ${get_branch(package)}
@@ -129,11 +134,11 @@ end match
 match /package_tags/${package}/([^/~]+)/${package}/
   repository ${get_repo(package)}
   branch tags/${get_tag_prefix(package)}\1
-% if package == 'sipb-xen-dev':
+%     if package == 'sipb-xen-dev':
   max revision 318
-% else:
+%     else:
   max revision ${doubled_packages[package][0] - 1}
-% endif
+%     endif
 end match
 
 match /trunk/packages/tmp/${package}/
@@ -145,33 +150,33 @@ match /trunk/packages/${package}/
   min revision ${doubled_packages[package][1]}
   max revision ${doubled_packages[package][1]}
 end match
-% endif
+%   endif
 
 match /trunk/packages/${package}/
   repository ${get_repo(package)}
   branch ${get_branch(package)}
-% if package in doubled_packages:
+%   if package in doubled_packages:
   min revision ${doubled_packages[package][1] + 1}
-% endif
-% if package in punt:
+%   endif
+%   if package in punt:
   max revision ${punt[package] - 1}
-% endif
+%   endif
 end match
 
 match /package_tags/${package}/([^/~]+)/
   repository ${get_repo(package)}
   branch tags/${get_tag_prefix(package)}\1
-% if package in doubled_packages:
+%   if package in doubled_packages:
   min revision ${doubled_packages[package][1]}
-% endif
+%   endif
 end match
 
 match /package_tags/${package}/([^/~]+)~([^/~]+)/
   repository ${get_repo(package)}
   branch tags/${get_tag_prefix(package)}\1_\2
-% if package in doubled_packages:
+%   if package in doubled_packages:
   min revision ${doubled_packages[package][1]}
-% endif
+%   endif
 end match
 
 % endfor