Lines Matching refs:opts
232 def cdm_pdiffs(ui, repo, *pats, **opts): argument
243 act = wslist[repo].active(opts.get('parent'))
251 if pats or opts.get('include') or opts.get('exclude'):
252 matchfunc = wslist[repo].matcher(pats=pats, opts=opts)
256 opts = patch.diffopts(ui, opts)
258 match=matchfunc, opts=opts)
263 def cdm_list(ui, repo, **opts): argument
282 act = wslist[repo].active(opts['parent'])
283 wanted = set(x for x in ('added', 'modified', 'removed') if opts[x])
341 def cdm_comchk(ui, repo, **opts): argument
350 active = wslist[repo].active(opts.get('parent'))
354 check_db = not opts.get('nocheck')
358 def cdm_cddlchk(ui, repo, *args, **opts): argument
372 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
382 elif (e or opts.get('honour_nots')) and exclude(f):
396 def cdm_manlintchk(ui, repo, *args, **opts): argument
406 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
420 elif (e or opts.get('honour_nots')) and exclude(f):
430 def cdm_mapfilechk(ui, repo, *args, **opts): argument
442 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
466 elif (e or opts.get('honour_nots')) and exclude(f):
476 def cdm_copyright(ui, repo, *args, **opts): argument
491 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
500 elif (e or opts.get('honour_nots')) and exclude(f):
510 def cdm_hdrchk(ui, repo, *args, **opts): argument
523 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
534 elif (e or opts.get('honour_nots')) and exclude(f):
544 def cdm_cstyle(ui, repo, *args, **opts): argument
558 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
569 elif (e or opts.get('honour_nots')) and exclude(f):
581 def cdm_jstyle(ui, repo, *args, **opts): argument
588 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
599 elif (e or opts.get('honour_nots')) and exclude(f):
609 def cdm_permchk(ui, repo, *args, **opts): argument
619 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
628 elif (e or opts.get('honour_nots')) and exclude(f):
645 def cdm_tagchk(ui, repo, **opts): argument
654 active = wslist[repo].active(opts.get('parent'))
675 def cdm_branchchk(ui, repo, **opts): argument
732 def cdm_keywords(ui, repo, *args, **opts): argument
742 filelist = buildfilelist(wslist[repo], opts.get('parent'), args)
751 elif (e or opts.get('honour_nots')) and exclude(f):
766 def cdm_outchk(ui, repo, **opts): argument
780 def cdm_mergechk(ui, repo, **opts): argument
783 active = wslist[repo].active(opts.get('parent'))
801 def run_checks(ws, cmds, *args, **opts): argument
812 result = cmd(ws.ui, ws.repo, honour_nots=True, *args, **opts)
822 def cdm_nits(ui, repo, *args, **opts): argument
852 return run_checks(wslist[repo], cmds, *args, **opts)
855 def cdm_pbchk(ui, repo, **opts): argument
901 return run_checks(wslist[repo], cmds, **opts)
904 def cdm_recommit(ui, repo, **opts): argument
944 parent = ws.parent(opts['parent'])
994 user = opts['user'] or ui.username()
997 message = cmdutil.logmessage(opts) or ui.edit(comments, user)
1048 def cdm_eval(ui, repo, *command, **opts): argument
1067 act = wslist[repo].active(opts['parent'])
1071 do_eval(cmd, files, repo.root, not opts['remain'])
1074 def cdm_apply(ui, repo, *command, **opts): argument
1084 act = wslist[repo].active(opts['parent'])
1086 if opts['remain']:
1094 do_eval(cmd, files, repo.root, not opts['remain'])
1248 def cdm_restore(ui, repo, backup, **opts): argument
1269 if opts['generation']:
1270 gen = int(opts['generation'])
1288 def cdm_webrev(ui, repo, **opts): argument
1296 for key in opts.keys():
1297 if opts[key]:
1298 if type(opts[key]) == type(True):
1301 webrev_args += '-' + key + ' ' + opts[key] + ' '
1310 def cdm_debugcdmal(ui, repo, *pats, **opts): argument
1313 ui.write(wslist[repo].active(opts['parent']).as_text(pats))
1316 def cdm_changed(ui, repo, *pats, **opts): argument
1373 specced_pats = pats or opts['include'] or opts['exclude']
1374 if len(filter(None, [opts['delete'], opts['update'], opts['init'],
1380 if (not wl and specced_pats) or opts['init']:
1383 map(wl.add, modded_files(repo, opts.get('parent')))
1385 if opts['delete']:
1387 elif opts['update']:
1389 map(wl.add, modded_files(repo, opts.get('parent')))
1391 elif opts['init']: # Any possible old list was deleted above
1396 match = wslist[repo].matcher(pats=pats, opts=opts)