Changeset 1944 for trunk


Ignore:
Timestamp:
Dec 29, 2008, 1:54:53 AM (16 years ago)
Author:
price
Message:

rules.mako: indent control flow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/git-migration/rules.mako

    r1943 r1944  
    117117% for package in packages:
    118118
    119 % if package == 'sipb-xen-database':
     119%   if package == 'sipb-xen-database':
    120120match /trunk/packages/${package}/${package}-0/
    121121  repository ${get_repo(package)}
     
    123123  max revision 8
    124124end match
    125 % endif
    126 
    127 % if package in doubled_packages:
     125%   endif
     126
     127%   if package in doubled_packages:
    128128match /trunk/packages/${package}/${package}/
    129129  repository ${get_repo(package)}
     
    135135  repository ${get_repo(package)}
    136136  branch tags/${get_tag_prefix(package)}\1
    137 % if package == 'sipb-xen-dev':
     137%     if package == 'sipb-xen-dev':
    138138  max revision 318
    139 % else:
     139%     else:
    140140  max revision ${doubled_packages[package][0] - 1}
    141 % endif
     141%     endif
    142142end match
    143143
     
    151151  max revision ${doubled_packages[package][1]}
    152152end match
    153 % endif
     153%   endif
    154154
    155155match /trunk/packages/${package}/
    156156  repository ${get_repo(package)}
    157157  branch ${get_branch(package)}
    158 % if package in doubled_packages:
     158%   if package in doubled_packages:
    159159  min revision ${doubled_packages[package][1] + 1}
    160 % endif
    161 % if package in punt:
     160%   endif
     161%   if package in punt:
    162162  max revision ${punt[package] - 1}
    163 % endif
     163%   endif
    164164end match
    165165
     
    167167  repository ${get_repo(package)}
    168168  branch tags/${get_tag_prefix(package)}\1
    169 % if package in doubled_packages:
     169%   if package in doubled_packages:
    170170  min revision ${doubled_packages[package][1]}
    171 % endif
     171%   endif
    172172end match
    173173
     
    175175  repository ${get_repo(package)}
    176176  branch tags/${get_tag_prefix(package)}\1_\2
    177 % if package in doubled_packages:
     177%   if package in doubled_packages:
    178178  min revision ${doubled_packages[package][1]}
    179 % endif
     179%   endif
    180180end match
    181181
Note: See TracChangeset for help on using the changeset viewer.