Changeset 1946
- Timestamp:
- Dec 29, 2008, 4:10:29 AM (16 years ago)
- Location:
- trunk/scripts/git-migration
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/rules.mako
r1945 r1946 3 3 svn = yaml.load(open('svn.yml')) 4 4 packages = svn['packages'] 5 trunks = svn['trunks'] 5 6 scripts = svn['scripts'] 6 7 quashes = svn['quashes'] … … 118 119 end match 119 120 120 match /trunk/dhcp/ 121 repository ${get_repo('sipb-xen-dhcp')} 122 branch ${get_branch('sipb-xen-dhcp')} 123 max revision 281 121 % for trunk in trunks: 122 % if 'inclusive' in trunks[trunk]: 123 match /trunk/${trunk}(/|$) 124 % else: 125 match /trunk/${trunk}/ 126 % endif 127 repository ${get_repo(trunks[trunk]['merge'])} 128 % if 'branch' in trunks[trunk]: 129 branch ${trunks[trunk]['branch']} 130 % else: 131 branch ${get_branch(trunks[trunk]['merge'])} 132 % endif 133 % if 'inclusive' in trunks[trunk]: 134 max revision ${trunks[trunk]['punt']} 135 % else: 136 max revision ${trunks[trunk]['punt'] - 1} 137 % endif 124 138 end match 125 126 match /trunk/web(/|$) 127 repository ${get_repo('sipb-xen-www')} 128 branch ${get_branch('sipb-xen-www')} 129 max revision 303 130 end match 139 % endfor 131 140 132 141 match /trunk/vnc/tightvnc-1.3.9_javasrc.zip 133 end match134 135 match /trunk/vnc/vnc_javasrc/136 repository ${get_repo('sipb-xen-vnc-client')}137 branch ${get_branch('sipb-xen-vnc-client')}138 max revision 304139 end match140 141 match /trunk/vnc/vnc_server(/|$)142 repository ${get_repo('sipb-xen-vnc-server')}143 branch ${get_branch('sipb-xen-vnc-server')}144 max revision 286145 end match146 147 match /trunk/dns/148 repository ${get_repo('sipb-xen-dns')}149 branch dns150 max revision 268151 142 end match 152 143 -
trunk/scripts/git-migration/svn.yml
r1945 r1946 83 83 xvm-munin-config: {} 84 84 xvm-prodconfig: {} 85 trunks: 86 dhcp: 87 {punt: 282, merge: sipb-xen-dhcp} 88 dns: 89 {punt: 269, merge: sipb-xen-dns, branch: dns} 90 vnc/vnc_javasrc: 91 {punt: 305, merge: sipb-xen-vnc-client} 92 vnc/vnc_server: 93 {punt: 286, inclusive: yes, merge: sipb-xen-vnc-server} 94 web: 95 {punt: 303, inclusive: yes, merge: sipb-xen-www} 85 96 scripts: 86 97 - git-migration
Note: See TracChangeset
for help on using the changeset viewer.