~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/build_release.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-06 06:48:25 UTC
  • mfrom: (4070.8.6 debug-config)
  • Revision ID: pqm@pqm.ubuntu.com-20090306064825-kbpwggw21dygeix6
(mbp) debug_flags configuration option

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