comparison mercurial/cmdutil.py @ 4962:10afa3fab6b4

Make [defaults] in .hg/hgrc work.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 21 Jul 2007 17:36:45 +0200
parents 0e2d0a78f81a
children 4106dde15aed 3d35c8cb5eb4
comparison
equal deleted inserted replaced
4961:3fdd09ad6cce 4962:10afa3fab6b4
314 fallback = lui.config('ui', 'fallbackencoding') 314 fallback = lui.config('ui', 'fallbackencoding')
315 if fallback: 315 if fallback:
316 util._fallbackencoding = fallback 316 util._fallbackencoding = fallback
317 317
318 fullargs = args 318 fullargs = args
319 cmd, func, args, options, cmdoptions = parse(ui, args) 319 cmd, func, args, options, cmdoptions = parse(lui, args)
320 320
321 if options["config"]: 321 if options["config"]:
322 raise util.Abort(_("Option --config may not be abbreviated!")) 322 raise util.Abort(_("Option --config may not be abbreviated!"))
323 if options["cwd"]: 323 if options["cwd"]:
324 raise util.Abort(_("Option --cwd may not be abbreviated!")) 324 raise util.Abort(_("Option --cwd may not be abbreviated!"))