\x89\x50\x4E\x47\x0D\x0A\x1A\x0A PNG  \x89\x50\x4E\x47\x0D\x0A\x1A\x0A  13\c@@s3dZddlmZddlmZddlmZmZddlm Z m Z m Z m Z m Z mZmZmZmZmZmZddlmZiZejeZdZed d d d ed edfd deedfge jeddejdedZdZdZdS(s=command to split a changeset into smaller ones (EXPERIMENTAL)i(tabsolute_import(t_(tnullidtshort( t bookmarkstcmdutiltcommandsterrorthgtobsoletetphasestpycompatt registrart revsetlangtscmutili(trebasesships-with-hg-coretsplittrtrevtsrevision to splittREVRsrebase descendants after splits!hg split [--no-rebase] [[-r] REV]t helpcategoryt helpbasiccO@s[tj|}g}|jdr=|j|jdn|j||j|j|jd}tj ||pdg}t |dkrt j t dn|j}||}|dks|jtkr|jt ddS|jdkr0t j t dn|jtjkrit j t dd t d nt|jd ||}tj|tj} |jd rt|jd ||} | r(t | t |kr(t j t dq(n+| r"|r"t j t dnd} t |jdkrXt j t dntj||j} | r|j| |jkrt j!|n|dj} d} zt"|||||} Wd| dks| |jkr t#j$|| dt%n| r"t j&|| nX| rE| rEt'||| | nWdQXWdQXWdQXdS(sfsplit a changeset into smaller ones Repeatedly prompt changes and commit message for new changesets until there is nothing left in the original changeset. If --rev was not given, split the working directory parent. By default, rebase connected non-obsoleted descendants onto the new changeset. Use --no-rebase to avoid the rebase. RRt.iscannot split multiple revisionssnothing to split scannot split working directoryscannot split public changesetthints see 'hg help phases' for detailss (%d::) - (%d)Rs%ld - (%ld & obsolete())::s,split would leave orphaned changesets behinds3cannot split changeset with children without rebasescannot split a merge changesetNt show_stats(((R t byteskwargstgettappendtextendtwlocktlockt transactionRtrevrangetlenRtAbortRtfirsttNonetnodeRtstatustphaseR tpublictlisttrevsR t isenabledtallowunstableopttparentsRt bailifchangedt_activebookmarkt _bookmarksRt deactivatetdosplitRtcleantFalsetactivatetdorebase(tuitrepoR+toptstrevlistttrRtctxt descendantst alloworphanedttorebasetbnametwnodettop((s1/usr/lib64/python2.7/site-packages/hgext/split.pyR/s`          c C@sg}tj||jjdt|jj|j}|jtj |||||j d}x||r|r t dt |j}xP|D]H} | j jddd} |t dt | j| f7}qW|t d7}nt d t |j}|jitd 6td 6||j d 6tj||tj||d } |j| qvW|stjt dntj|ig|D]} | j^q|j6dddt|dS(NRcS@st|jd S(Ni(tanyR'(R9((s1/usr/lib64/python2.7/site-packages/hgext/split.pytss1HG: Splitting %s. So far it has been split into: s iis HG: - %s: %s s7HG: Write commit message for the next split changeset. sFHG: Splitting %s. Write commit message for the first split changeset. teditt interactivetmessageRscannot split an empty revisiont operationRtfixphasei(RR4tp1R&R5t changelogR.t pushbufferRtrevertt popbufferRRt descriptionRtupdatetTrueRtcommitR t strkwargsRRR#Rt cleanupnodes( R8R9R<R=R:t committedR.t incompletetheadertct firstlinetnewctx((s1/usr/lib64/python2.7/site-packages/hgext/split.pyR3s:"     *   5 c C@sAtj||dtjd|gdtjd|jdS(NRs%ldtdests%d(RR t formatspecR(R8R9tsrctdestctx((s1/usr/lib64/python2.7/site-packages/hgext/split.pyR7s$N(t__doc__t __future__Rtmercurial.i18nRtmercurial.nodeRRt mercurialRRRRRR R R R R RRRtcmdtabletcommandt testedwithRRt commitopts2tCATEGORY_CHANGE_MANAGEMENTRR3R7(((s1/usr/lib64/python2.7/site-packages/hgext/split.pyts L Q -