6hSSKJr SSKrSSKJrJrJrJr SSKJ r SSK J r J r J r JrJrJrJr SSK JrJrJrJrJr S rSS jrSS jrSS jrSSS jjrg)) annotationsN)Any CollectionDictOptional)_)cmdutilerror formatterpycompat requirementsuiutil) ConfigLevelT EDIT_LEVELS LEVEL_SHAREDNO_REPO_EDIT_LEVELSrcutileditc ^TR[5(d[U4Sj[55(aK[R "T/[Q76 [HnTRU5(dMUs $ [S$g)zreturn the level we should edit, if any. Parse the command option to detect when an edit is requested, and if so the configuration level we should edit. c3F># UHnTRU5v M g7fN)get).0ooptss A/usr/lib/python3/dist-packages/mercurial/configuration/command.py "find_edit_level..*s!C{!$((1++{s!rN)r EDIT_FLAGanyrr check_at_most_one_arg)rreporlevels ` rfind_edit_levelr' sb xx c!C{!CCC%%d9[9 Exx !1~ cUcBU[;a8S[R"U5-n[R"[ U55eU[ :XasUR5(d![ S5n[R"U5e[RUR;a[R"[ S55eSnUb URn[R"U5n0nUH/upxn US:waMURU/5RU 5 M1 X&;aSU-n[R"U5eXbn U H)n [ R"R%U 5(dM) OT [&R(R+U5n U Sn U b+[,R."U [,R0"U 55 UR35n UR5SX4-[R[ S 5S S 9 g) z8let the user edit configuration file for the given levelNs#can't use --%s outside a repositorys,repository is not shared; can't use --sharedsNshare safe feature not enabled; unable to edit shared source repository configpathzunknown config level: %srs%s "%s"s edit faileds config_edit)onerr errprefix blockedtag)rr bytestrr InputErrorr rsharedrSHARESAFE_REQUIREMENTrootrall_rc_components setdefaultappendProgrammingErrorospathexistsuimod samplehgrcsrr writefile tonativeeol geteditorsystem)rr%r&msg repo_pathall_rcs rc_by_levellvlrc_typevaluespathsf samplehgrceditors r edit_configrK3s |%884x7G7G7NNqv&& {{}}CDC""3' '  - -T5F5F F""F I II &&y1GK 'f g  sB'..v6!(  (50$$S))  E  77>>!   &&**51 !H  ! NN1d..z: ; \\^FII{"N#! r(c[R"5Heup#nUS:XaURSU-5 M"US:XaURSUSUS4-5 MFUS:XaMN[R"SU-5e g ) zshow the component used to build the config XXX this skip over various source and ignore the repository config, so it XXX is probably useless old code. r*sread config from: %s sresources!read config from: resource:%s.%s rrsitemssunknown rctype: %sN)r rccomponentsdebugr r6)rr%_lvltrHs rshow_componentrQis{ ))+  < HH.2 3 +  HH:adAaD\I J (] (()>)BC C,r(cHURSU5n/=pSn U(a6UV s/sH n SU ;dM U PM nn UV s/sH n SU ;dM U PM n n Sn [U 5S:H=(a U(+n [U5n[U 5n Sn URXES9nUGHiunnnUR UUU5n[ R "U5nURUU5nUR5(aU=(d SnURSS 5nUS-U-nU (a X;dUU ;dMUR5 URUS S U5 U (a#URUS 9 URS SU5 OURSSUU5 [R"U5(aURUS9 OI[U[ 5(a4[#SU55(aURUR%US S 9S9 Sn GMl UR'5 U $s sn fs sn f)a#Display config value to the user The display is done using a dedicated `formatter` object. :value_filters: if non-empty filter the display value according to these filters. If the filter does not match any value, the function return False. True otherwise. :formatter_option: options passed to the formatter :untrusted: When set, use untrusted value instead of ignoring them :all_known: Display all known config item, not just the one with an explicit value. :show_source: Show where each value has been defined. sconfigF.Tr) untrusted all_knownsnone s\nssources%s: )namesvalues%s s name values%s=%s ) defaultvaluec3N# UHn[R"U5v M g7fr)r isprintable)res rr show_config..s!4 .:I ! !! $ $ls#%)r lenset walkconfig configsourcer r. configdefaultisplainreplace startitem condwritedatawriterZ isinstancelistall formatlistend)rr% value_filtersformatter_optionsrTrU show_sourcefm selsections selentriesfilteredv uniqueselmatchedentriessectionrWvaluesourcerX entrynames r show_configr|{s> i!2 3B!!KH"/A-Q4q=q- A!.<A$!)a <J1$8[Ik"KZJGmmimEG 'u$ :  '''6 ::<<&wFMM%0EdNT) W3yJ7N   [)Wf=  GGG # HHXw . HH]J 5 A   . . GGG .  d + +4 .:4 1 1  GG|(!KG L1!(2FFH NGBrs# 22    &3lD.FF%F F  F  FF Fr(