~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/build_release.py

  • Committer: Matt Nordhoff
  • Date: 2009-04-04 02:50:01 UTC
  • mfrom: (4253 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4256.
  • Revision ID: mnordhoff@mattnordhoff.com-20090404025001-z1403k0tatmc8l91
Merge bzr.dev, fixing conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# values.
6
6
VERSIONS = {
7
7
    'bzr': '1.12',
8
 
    'qbzr': '0.9.7',
 
8
    'qbzr': '0.9.8',
9
9
    'bzrtools': '1.12.0',
10
 
    'bzr-svn': '0.5.0',
11
 
    'subvertpy': '0.6.2',
 
10
    'bzr-svn': '0.5.2',
 
11
    'bzr-rebase': '0.4.4',
 
12
    'subvertpy': '0.6.4',
12
13
}
13
14
 
14
15
# This will be passed to 'make' to ensure we build with the right python
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