1
# Copyright (C) 2004, 2005, 2006 by Canonical Ltd
1
# Copyright (C) 2004, 2005 by Canonical Ltd
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
# TODO: For things like --diff-prefix, we want a way to customize the display
18
# of the option argument.
135
133
argname -- name of option argument, if any
137
135
# TODO: perhaps a subclass that automatically does
138
# --option, --no-option for reversible booleans
136
# --option, --no-option for reversable booleans
163
161
_global_option('overwrite', help='Ignore differences between branches and '
164
162
'overwrite unconditionally')
165
163
_global_option('basis', type=str)
166
_global_option('bound')
167
164
_global_option('diff-options', type=str)
168
165
_global_option('help',
169
166
help='show help message')
173
170
_global_option('forward')
174
171
_global_option('message', type=unicode)
175
172
_global_option('no-recurse')
176
_global_option('prefix', type=str,
177
help='Set prefixes to added to old and new filenames, as '
178
'two values separated by a colon.')
179
173
_global_option('profile',
180
174
help='show performance profiling information')
181
175
_global_option('revision', type=_parse_revision_str)
176
_global_option('short')
182
177
_global_option('show-ids',
183
178
help='show internal object ids')
184
179
_global_option('timezone',
186
181
help='display timezone as local, original, or utc')
187
_global_option('unbound')
188
182
_global_option('verbose',
189
183
help='display more information')
190
184
_global_option('version')
191
185
_global_option('email')
192
186
_global_option('update')
193
_global_option('log-format', type=str, help="Use this log format")
194
_global_option('long', help='Use detailed log format. Same as --log-format long')
195
_global_option('short', help='Use moderately short log format. Same as --log-format short')
196
_global_option('line', help='Use log format with one line per revision. Same as --log-format line')
187
_global_option('long', help='Use detailed log format')
188
_global_option('short', help='Use moderately short log format')
189
_global_option('line', help='Use log format with one line per revision')
197
190
_global_option('root', type=str)
198
191
_global_option('no-backup')
199
_global_option('merge-type', type=_parse_merge_type,
200
help='Select a particular merge algorithm')
192
_global_option('merge-type', type=_parse_merge_type)
201
193
_global_option('pattern', type=str)
202
194
_global_option('quiet')
203
195
_global_option('remember', help='Remember the specified location as a'