6hSSKJr SSKrSSKrSSKrSSKJrJr SSKJ r SSK J r J r J r SSKJr SSKJr \R$r"S S \R&\R(5rg) ) annotationsN) ElementTree XMLParser)_)errorpycompatutil)dateutil)commoncx^\rSrSrSSjrSrSrSU4SjjrSrSr Sr S r S r S r S rS rSrSrU=r$) darcs_sourcec[RRXX#US9 [RRXS5 [R R [R RUS55(d[[S5U-5e[R"SSS9 URS5R5SR5nUS:a"[R"[S 5U-5eS [!5;a[R"[S 55e[R R#U5UlSUl0Ul0Ul0UlUR-5nU(aUS ;a[[S 5U-5egUR.R1[S55 g)N)revssdarcss_darcss(%s does not look like a darcs repository)debnames --versionrs2.1s,darcs version 2.1 or newer needed (found %r)rs*Python ElementTree module is not available)s darcs-1.0shasheds3%s repository format is unsupported, please upgrades#failed to detect repository format!)r converter_source__init__ commandlineospathexistsjoinNoRepor checktoolrun0 splitlinesstriprAbortglobalsrealpathlastrevchangesparentstagsformatuiwarn)selfr'repotyperrversionr&s 5/usr/lib/python3/dist-packages/hgext/convert/darcs.pyrdarcs_source.__init__sv((8(M##Dh7ww~~bggll4;<<FG$NO O84))L)446q9??A V ++ABWL   )++a MNO OGG$$T*      22* 3 GGLLAB Cc[R"S[RR UR5-S-S9UlUR SUR S9upURU5 URSSSURS9nSnSnURS 5HnURURS 55nURURS S 55nURS 5(aUSSR5nOUbXpRU'SnX`R U'U/UR"U'UnM /UR"U'g)Nsconvert--)prefixsinitrepodirschangesT) xml_outputsummaryr3patchhashnamesTAG )rmkdtemprrbasenametmppathrun checkexitxmlfindallrecodegetfindtext startswithrr%r#r$) r)outputstatustreetagnamechildeltnoder8s r,beforedarcs_source.beforeGs1''!1!1$))!<[U[5(aURS5n[TU]X5$)Nlatin-1) isinstancestrencodesuperrB)r)sencoding __class__s r,rBdarcs_source.recodeds/ a  #Aw~a**r.c [5n[SS9nUR"U40UD6nURURUS9 UR 5 UR UR5 UR5$)NrX)r^)parser) rr_runparsestdoutwaitr? returncodegetroot)r)cmdkwargsetreerbps r,r@darcs_source.xmllsc I. IIc $V $ AHHV ,  q||$}}r.c8URSSURS9upURU5 [R"SU[R 5nU(dgSR [SURS5RS5555$)Nshowsrepor2s^\s*Format:\s*(.*)$,c3@# UHoR5v M g7fN)r).0fs r, &darcs_source.format..sJ3Ia 3Isr ) r>rr?research MULTILINErsortedgroupsplit)r)rFrGms r,r&darcs_source.formatzsr'7DIIF v II-vr|| DyyJ1771:3C3CD3IJJKKr.c/nURSSSURS9up#URU5 URS5H"nUSSnU(dMUR U5 M$ U$)NrosfilesT)no_directoriesr3 )r>r=r?r|append)r)manrFrGliners r,manifestdarcs_source.manifestsm XdDLL"  vLL'D8Dt 4 ( r.c URS$rr)r$rTs r,getheadsdarcs_source.getheadss||D!!r.cURUnSn[R"URUR S55U5nUR S5S-UR SS5-nSn[ R"URUR S55[R"XF5URU5R5URUS 9$) Ns%a %b %d %H:%M:%S %Z %Y local_dater8 commentr9s%Y-%m-%d %H:%M:%S %1%2author)rdatedescr$) r#r strdaterBrCrDr commitdatestrrr$)r)revrK dateformatrr newdateformats r, getcommitdarcs_source.getcommitsll3/  CGGL,A BJO||F#d*S\\)R-HH2 }};;swwx01!!$6T"((*LL%   r.c 8URSURSSURU5-SSSURS9up#U(aUUR S5S:XaUR X25 URSSURS 9up#UR X25 gg) NspullTshash %ss /bin/false)allmatchno_test no_posthookexternal_merger3sWe have conflicts insrevert)rr3)r>rrBr=findr?)r)rrFrGs r,pulldarcs_source.pulls  IIt{{3//(LL"   {{23r9v.!XXiT4< >x0|4()u ! CHHNN,< =sCD152 # g--r.ctX R:wa[R"[S55e[R R URU5n[R"U5n[R"U5RnUS-=(a S=(d SnXE4$![a gf=f)Nsinternal calling inconsistency)NNIxr.) r"rrrrrrr=r readfilelstatst_modeFileNotFoundError)r)r8rrdatamodes r,getfiledarcs_source.getfiles ,, ++a ABC Cww||DLL$/ ==&D88D>))Du &$-#z!  s6B** B76B7cUR$rr)r%rTs r,gettagsdarcs_source.gettagss yyr.)r#r"r$rr%r=rr)__name__ __module__ __qualname____firstlineno__rrMrUrBr@r&rrrrrrr__static_attributes__ __classcell__)r_s@r,rrsM&DP!28+ L "  +"!.F r.r) __future__rrrwrRxml.etree.ElementTreerrmercurial.i18nr mercurialrrr mercurial.utilsr r9r rrrrr.r,rsT#   % C6**F,>,>Cr.