Changeset 1936 for trunk/scripts


Ignore:
Timestamp:
Dec 28, 2008, 8:40:32 PM (16 years ago)
Author:
andersk
Message:

Use templates to compactify the list of quashed revisions.

File:
1 edited

Legend:

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

    r1932 r1936  
    4747    }
    4848
     49    quashes = [
     50        ('/package_tags/sipb-xen-dev/sipb-xen-dev/', 11),
     51        ('/package_tags/sipb-xen-dev/13/', 316),
     52        ('/package_tags/sipb-xen-console/2/', 347),
     53        ('/package_tags/sipb-xen-console/2/sipb-xen-console/', 348),
     54        ('/package_tags/sipb-xen-console/2/', 349),
     55        ('/package_tags/sipb-xen-console/7.1/sipb-xen-console/', 401),
     56        ('/package_tags/sipb-xen-guest-installer/1.0/sipb-xen-guest-installer/', 452),
     57        ('/package_tags/sipb-xen-dev/14/sipb-xen-dev/', 462),
     58        ('/package_tags/sipb-xen-dev/14/', 463),
     59        ('/trunk/packages/sipb-xen-autoinstaller/', 742),
     60    ]
     61
    4962    merges = []
    5063    for line in open('merges'):
     
    90103% endfor
    91104
    92 match /package_tags/sipb-xen-dev/sipb-xen-dev/
    93 end match
    94 
    95 match /package_tags/sipb-xen-dev/13/
    96   min revision 316
    97   max revision 316
    98 end match
    99 
    100 match /package_tags/sipb-xen-console/2/
    101   min revision 347
    102   max revision 349
    103 end match
    104 
    105 match /package_tags/sipb-xen-console/7.1/sipb-xen-console/
    106   min revision 401
    107   max revision 401
    108 end match
    109 
    110 match /package_tags/sipb-xen-guest-installer/1.0/sipb-xen-guest-installer/
    111   min revision 452
    112   max revision 452
    113 end match
    114 
    115 match /package_tags/sipb-xen-dev/14/sipb-xen-dev(/|$)
    116   min revision 462
    117   max revision 463
    118 end match
    119 
    120 match /trunk/packages/sipb-xen-autoinstaller/
    121   min revision 742
    122   max revision 742
    123 end match
     105% for quash in quashes:
     106match ${quash[0]}
     107  min revision ${quash[1]}
     108  max revision ${quash[1]}
     109end match
     110% endfor
    124111
    125112% for package in packages:
Note: See TracChangeset for help on using the changeset viewer.