6h(SSKJr SSKrSSKrSSKrSSKJr SSKJrJ r J r J r SSK J r 0r0r\ R "\\5rSr\"SS S 9S 5r0rS rSS jrSSjrSSjrg)) annotationsN)_)errorpycompat registrar requirements) stringutilcg)N)argskwargss 8/usr/lib/python3/dist-packages/mercurial/admin/verify.py noop_funcrs sworking-copy.dirstatesdirstate)aliasc UR[S55 URR5up4XR 5nXR 5nSn[ R UR ;nU(aUR5OSn URRXVX95Hn URU 5 US- nM U$)Nschecking dirstate r) statusrdirstateparentsmanifestr NARROW_REQUIREMENT narrowmatchverifywarn) uirepooptionsparent1parent2m1m2errors is_narrownarrow_matchererrs rcheck_dirstater(sIIa&'(}},,.G    !B    !B F//43D3DDI+4T%%'$N}}##BGD  ! E Mrc0[UR5SSS9Hxup#UnURS5nUSSHnURU05nUnM UR US5c X#4XES'MWU[ LdMbSn[ R"U5e g)zqCreate a pyramid of checks of the registered checks. It is a name-based hierarchy that can be arbitrarily nested.c US$)Nrr )xs rbuild_pyramid..8s1Q4rT)keyreverse.Ns2intermediate checks need to use `verify.noop_func`)sorteditemssplit setdefaultgetrrProgrammingError) table full_pyramidentryfunccursorlevelslevel current_nodems r build_pyramidrA5sekkmN T"CR[E!,,UB7L!F! ::fRj ! )"'F":   "EA((+ +OrcrUc[nUc[nUS:XaU$0nURU5nUc{URU5nUbUnURU5nOUURSS5n[ U5S:Xa1URUS5nUbSXgS4-nURU5nOUnURS5nUbJU(d [ X5 [ R5 [ RUR55 O[ U[ 5 [ n UHzn U RU 5n U bM[R"[U5[U5-U5n [R"U 5n [R"[SU-5U S9e [!U ["5(a|[U R55n U (aZU R%5up[!U["5(a U R'UR55 O USXNS'U (aMZU$XTU'U$) a>Find all checks for a given name and returns a dict of (qualified_check_name, check_function) # Examples Using a full qualified name: "working-copy.dirstate" -> { "working-copy.dirstate": CF, } Using a *prefix* of a qualified name: "store.revlogs" -> { "store.revlogs.changelog": CF, "store.revlogs.manifestlog": CF, "store.revlogs.filelog": CF, } Using a defined alias: "revlogs" -> { "store.revlogs.changelog": CF, "store.revlogs.manifestlog": CF, "store.revlogs.filelog": CF, } Using something that is none of the above will be an error. sfullr0rrrs%s.%ssunknown check %shint) verify_tableverify_alias_tabler6r4lenrApyramidclearupdater3r getsimilarlistsimilarity_hint InputErrorr isinstancedictpopextend)namer8 alias_tabler9checkscheckqualified_namer4r=subtreer>rDstack current_namer:s r find_checksr[Es6 }(  w F IIdOE }$.  %!DIIdOEJJtQ'E5zQ!,q!:!-#~Qx&@@D!IIdOEZZ F % . |))+,eW%G++e$ ?##D$5U $CTJD((.D""1%84%?#@tL L '4  W]]_%"'))+ L%&& U[[]+$)8Qx e Mt Mrc ^!URS5 [R"[5nU(d[R "[ S55e[U5GHmnURS5n[ S5n [R"[ S5U-U S9n [U5S:waU eUupU (dU eU RS5n[U5S:waU eUum!n U (dU eS U T!4-n[U UUUS 9nUGHnURU5nUc&[ S 5n[R"UUT!4-5e[US 5(de[URS5(d$[R"[ S5UT!4-5e[U!4SjURR 55nUunnnS n[%U[&5(a?[(R*"U 5nUc#[R"[ S5X4-5eUnOt[%U[,5(a?[(R."U 5nUc#[R"[ S5X4-5eUnO [R0"S[3U55eT!UU;a$[R"[ S5T!U4-5eUceUUUT!'GM GMp UR55HunnUU;dM0UU'M UR55GHun nURU 5nXn0nUceURce[URS5(deURR (agURR Vs0sH nUS[6R8"US5_M" nnU(aUR55H unn U UU'M [:R<"U5n[>R@"U40UD6X'URSX4-5 GM U$!["a% [R"[ S5UT!4-5ef=fs snf)zGiven a dict of checks (fully qualified name to function), and a list of options as given by the user, pass each option down to the right check function.s#passing options to check functions s`checks` required:s@syntax is 'check:option=value', eg. revlogs.changelog:copies=yessinvalid option '%s'rCr=s%s:%sr8rTr9Ns0specified option '%s' for unselected check '%s' r;rscheck '%s' has no option '%s'c3<># UHoST:XdM Uv M g7f)rNr ).0o option_names r pass_options..s '1!qT[5HAA1s  s'%s' is not a boolean ('%s')s'%s' is not a list ('%s')sunsupported type %ssduplicated option '%s' for '%s'rrsmerged options for '%s': '%r' )!debug collections defaultdictrPrErrorrr2r4rNrGr[r6hasattrr;nextr StopIterationrOboolr parseboolrL parselistr7typer3copydeepcopyr strkwargs functoolspartial)"rrUrr8rTr9 to_modifyoptionr4rD option_error check_name option_valuevaluepathmatching_checksrSrVmsgmatching_option_nametyp _docstringas_typedas_boolas_listf cmd_optionsr;merged_optionsrbkvrcs" @r pass_optionsrsMHH 45''-I kk!0122/ T" 0 '' $ % .T  u:? #(  ""4( u:? " U :{33% #%   $DJJt$E}LM&&sdK-@'@AA5&)) ))5::y11&&674:MM "&'$zz11'#&5 "E3 H#t$$$..u5?**9:d]J#C&&$..u5?**674-G#,,-CT#YOOio-&&89[$a y  IdO" $-??#4 K :&!   zz%%%uzz9---- ::  49::3E3E3Ea!dmmAaD))3E '--/DAq()N1%0$$^4&..t?w? 3z6KKL'$5* M}! &&674:MM hs)P# 'Q#/Qc R0nUc/nUc/nUHFn[UUUUS9n SRU 5n URSX4-5 URU 5 MH UR 5V V s0sHupU [ R "XU5_M nn n [UUUUUUS9n U $s sn n f)aGiven a list of function names and optionally a list of options, return matched checks with merged options (command line options values take precedence on default ones) It runs find checks, then resolve options and returns a dict of matched functions with resolved options. r_s, s found checks '%s' for name '%s' )r[joinrfrJr3rtrur)rrnamesrr8rTr9funcsrSmatched matched_namesnrrUs r get_checksr&s E } #%    7+  58MMN Wrs# 77 |-?@  {34$  , [D  @L   0r