~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/build_release.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-06 02:54:14 UTC
  • mfrom: (4253 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4255.
  • Revision ID: jelmer@samba.org-20090406025414-65tpjwcmjp5wa5oj
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    'qbzr': '0.9.8',
9
9
    'bzrtools': '1.12.0',
10
10
    'bzr-svn': '0.5.2',
 
11
    'bzr-rebase': '0.4.4',
11
12
    'subvertpy': '0.6.4',
12
13
}
13
14
 
124
125
 
125
126
 
126
127
def _plugin_tag_name(plugin_name):
127
 
    if plugin_name in ('bzr-svn', 'subvertpy'):
 
128
    if plugin_name in ('bzr-svn', 'bzr-rebase', 'subvertpy'):
128
129
        return '%s-%s' % (plugin_name, VERSIONS[plugin_name])
129
130
    # bzrtools and qbzr use 'release-X.Y.Z'
130
131
    return 'release-' + VERSIONS[plugin_name]
133
134
def update_plugin(plugin_name):
134
135
    release_dir = get_plugin_release_dir(plugin_name)
135
136
    if not os.path.isdir(plugin_name):
136
 
        if plugin_name == 'bzr-svn':
 
137
        if plugin_name in ('bzr-svn', 'bzr-rebase'):
137
138
            # bzr-svn uses a different repo format
138
139
            call_or_fail([bzr(), 'init-repo', '--rich-root-pack', plugin_name])
139
140
        else:
194
195
    install_plugin('bzrtools')
195
196
    install_plugin('qbzr')
196
197
    install_plugin('bzr-svn')
 
198
    install_plugin('bzr-rebase')
197
199
 
198
200
    build_installer()
199
201