equal
deleted
inserted
replaced
161 action="store", type="int", default=0) |
161 action="store", type="int", default=0) |
162 |
162 |
163 (options, args) = optparser.parse_args() |
163 (options, args) = optparser.parse_args() |
164 |
164 |
165 ui = uimod.ui.load() |
165 ui = uimod.ui.load() |
166 ui.setconfig('ui', 'verbose', options.verbose, '--verbose') |
166 ui.setconfig(b'ui', b'verbose', options.verbose, b'--verbose') |
167 ui.setconfig('ui', 'debug', options.debug, '--debug') |
167 ui.setconfig(b'ui', b'debug', options.debug, b'--debug') |
168 |
168 |
169 if options.file: |
169 if options.file: |
170 if checkfile(ui, options.file, options.initlevel): |
170 if checkfile(ui, options.file, options.initlevel): |
171 sys.exit(1) |
171 sys.exit(1) |
172 else: |
172 else: |