6hw( SrSSKJr SSKJr SSKJrJrJrJ r J r J r J r JrJrJrJr 0r\R&"\5r0r\R*"\5r\"SSSS9 \"SS SS9 S rSS jr\"S SSS \"S54SSS\"S54SSS\"S5\"S54/\R0-\R2-\R4-\R6-\"S5\R8S9S5rSr\"S/\R8SS9S5rg ) aHuncommit part or all of a local changeset (EXPERIMENTAL) This command undoes the effect of a local commit, returning the affected files to their uncommitted state. This means that files modified, added or removed in the changeset will be left unchanged, and so will remain modified, added and removed in the working directory. ) annotations)_) cmdutilcommandscontextcopieserrorobsutilpathutilpycompat registrar rewriteutilscmutil experimentaluncommitondirtywdirF)default uncommit.keepsships-with-hg-coreNc &^UR5n[UR55nUV s1sHo"U 5(dMU iM n n U (dgU(dUR5R5$X- n [R "Xq5mTR 5V V s0sHupX;dM X_M sn n mUS4U4SjjnU (d$URR[S55 UcUR5nU(dUR5nU(dUR5n[R"UUR5UR/UU UUUUR!5S9nUR#U5$s sn fs sn n f)zjRecommit ctx with changed files not in match. Return the new node identifier, or None if nothing changed. Nc >X#;agX2n[R"UUUR5UR5UR 5UR 5TR U5S9nU$)N) copysource)r memfilectxpathdataislinkisexecget)repomemctxr contentctxredirectfctxmctxcopieds 0/usr/lib/python3/dist-packages/hgext/uncommit.py filectxfn"_commitfiltered..filectxfnVsa  !!!   IIK IIK KKM KKMzz$'  snote: keeping empty commit parentstextfilesr&userdateextra)p1setr,node copiesmod pathcopiesitemsuistatusr descriptionr-r.rrnullidr/ commitctx)rctxmatch keepcommitmessager-r.base initialfilesfexcluder,dstsrcr&newr$s @r%_commitfilteredrF>s? 668Dsyy{#L&3,Q%(q,G3  vvx}}  "E  ! !$ ,F'-||~ F~83hch~ FF14r   q89://# xxz xxz .. dkk*   iik C >># e4GsFF% F 4F uncommitr(skeeps(allow an empty commit after uncommittingsallow-dirty-working-copys'allow uncommit with outstanding changesnsnotesstore a note on uncommitsTEXTs[OPTION]... [FILE]...) helpcategoryc [R"U5 [R"X5 UR5 UR 5 UR 5nUR URURUR4upVpx[[XV-U-U-5[U5-5n US=(d URRSS5n U (d,U(aU (a[R"U[S5S9 USn [ R""XR%5/S5 ['U R)55S:a[*R,"[S 55e[.R0"X[2R4"U55n U R75(GaKU R U R95U S S 9n [U R5[U R 5-[U R5-n[U R755U- nU(a*U[:R<"U5Vs1sHnUiM sn-n[?U5HnUU R@;a [S 5nO7URBREU5(a [S 5nO [S5n[*R,"[S5[.RF"U5"U5-US9e URIS5 US(dUS(dU RK5US'[RL"U[2R4"U55nUnU(d6UROS5bUROS5nOURSS5n[QUU U UUUROS5UROS5S9nUc4UR [S55 SSS5 SSS5 SSS5 g0nUU R95RS5:waU4UU RS5'OSUU RS5'URTRWU5 [.RX"XUU 5 SSS5 [.RZ"UUSS S9 SSS5 SSS5 SSS5 gs snf!,(df  NC=f!,(df  N5=f!,(df  N>=f!,(df  g=f)anuncommit part or all of a local changeset This command undoes the effect of a local commit, returning the affected files to their uncommitted state. This means that files modified or deleted in the changeset will be left unchanged, and so will remain modified in the working directory. If no files are specified, the commit will be pruned, unless --keep is given. allow_dirty_working_copyrrs/requires --allow-dirty-working-copy to uncommit)hint.rGscannot uncommit merge changesetT) listcleans0file was not changed in working directory parents.file was untracked in working directory parentsfile does not existscannot uncommit "%s"r>logfilekeepNrr-r.)r>r-r.snothing to uncommit rfixphase).rcheck_note_sizeresolve_commit_optionswlocklockr7modifiedaddedremoveddeletedanyr1r6 configbool bailifchangedrrprecheckrevlenr*r InputErrorrr<r byteskwargsr,r0r dirssortedcleanwvfsexists getuipathfn transactionr8 logmessagerrFr2dirstatechanging_parents movedirstate cleanupnodes)r6rpatsoptsstmard isdirtypathallowdirtywcopyoldr<seligiblebadfilesrArLr>r=newidmappings r%uncommitr|s< D! ""2, tyy{ [[][["((BJJ B a#aeai!m,s4y89  & I WW  1G H   ! !IJ 4jTGGI; < s{{}  !""1%G#HI I c)=)=d)CD ;;== 3668Ud ;A177|c!**o5AIIFH5;;=)H4H  h(?@(?1Q(?@@H%<KDYY%%a((NOD34D&&-.1D1DT1J11MM&  k *OtI"%//"3Y((X-A-A$-GHGJ88F#/!%&!1J!#')9"J$XXf%XXf%E} !4561+_#RG '',h #') #//5$$T;>6  w d KK+_#<Af65E+ *_#{s{S?H S. S #B4S.CS4S.<S? A'S4S S.S.6S?S. S S S+ 'S.. S< 8S?? T c## UR5RRRUR 5S5H*n[ R "UR5U5v M, g7f)zFyields the obsolete markers marking the given changeset as a successorrN)robsstore predecessorsrr2r marker)r;rs r%predecessormarkersrsL ##0044SXXZDnnSXXZ..EsA2A4unamendT)rI helpbasicc ^^UR5nUR5 UR5 URS5 USm[R "UTR 5/S5 [TR55S:a[R"[S55eSn[U4SjU55(d[R"[S55e[[T55n[U5S:wa-[S5n[R"U[U5-5eUS R5nX7mTR!5nTR#5US 'U4S jn [$R&"UTR)5TR+54TR-5TR/5U TR15TR35US 9n UR5U 5n Xn UR6n U R9U5 [:R<"X5 S S S 5 TR?5U 40n[:R@"XSSS9 S S S 5 S S S 5 S S S 5 g !,(df  NP=f!,(df  N0=f!,(df  N9=f!,(df  g =f)aundo the most recent amend operation on a current changeset This command will roll back to the previous version of a changeset, leaving working directory in state in which it was before running `hg amend` (e.g. files modified as part of an amend will be marked as modified `hg status`) rrMrNscannot unamend merge changeset)s amend_sourceunamend_sourcec3H># UHoTR5;v M g7fN)r/).0keycurctxs r% unamend..sBMS&,,.(Ms"sAworking copy parent was not created by 'hg amend' or 'hg unamend's:changeset must have one predecessor, found %i predecessorsrrcH>TRU5$![a gf=fr)filectxKeyError)rctx_rpredctxs r%r&unamend..filectxfn)s) t,,  s  !!r)NTrR)! unfilteredrVrWrjrr_r`rar*r rbrr\listrprednoder/hexrrr0p2r8r,r-r.r:rlrmrrnr2ro)r6rrqunfi expected_keysmarkerserextrasr&newctx newprednode newpredctxrlr~rrs @@r%unamendrs ?? D tyy{D$4$4Z$@dTFJJL>:> v~~ 1 $""1%F#GH H< BMBBB""$ )&12 w<1 OPA""1s7|#34 41:&&(.$*JJL !  ZZ\7::<0$$&--/  nnV, & ==  & &t ,   2-;;=;.1TJFq%A{h- ,i%A$@{{sSJ1J GJI> 41J%J -J1> J J J J  J. *J11 J?)NNN) __doc__ __future__rmercurial.i18nr mercurialrrrrr3r r r r r rrcmdtablecommand configtable configitem testedwithrFwalkopts commitopts commitopts2 commitopts3CATEGORY_CHANGE_MANAGEMENTrrrrr(r%rs{#        H %  ! !+ .     # AE;|  gtQJKL  '  8 9  wQ:;QwZH     33#&bL'&bLJ/  33  BG  BGr(