-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/hgext/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/hgext/rebase.pyc

ó
Ì\,Tc@s5dZddlmZmZmZmZmZmZmZddlm	Z	m
Z
mZmZm
Z
mZddlmZddlmZddlmZddlmZddlZddlZd	Zd
ZiZejeƒZdZd„Zd
„Zd„Z eddddedƒedƒfdddedƒedƒfddgedƒedƒfdddedƒedƒfdde!edƒfd d!ded"ƒed#ƒfd$d%e!ed&ƒfd'd(ded)ƒed*ƒfdd+e!ed,ƒfdd-e!ed.ƒfd/d0e!ed1ƒfd2d3ded4ƒfd5d6e!ed7ƒfd8d9e!ed:ƒfgeed;ƒƒd<„ƒZ"d=„Z#e$e$e$d>„Z%d?„Z&d@„Z'dA„Z(dB„Z)dC„Z*dD„Z+dE„Z,dF„Z-dG„Z.dH„Z/dI„Z0dJ„Z1e$dK„Z2dL„Z3dM„Z4dN„Z5dS(OsÓcommand to move sets of revisions to a different ancestor

This extension lets you rebase changesets in an existing Mercurial
repository.

For more information:
http://mercurial.selenic.com/wiki/RebaseExtension
iÿÿÿÿ(thgtutiltrepairtmergetcmdutiltcommandst	bookmarks(t
extensionstpatchtscmutiltphasestobsoleteterror(ttemplateopts(tnullrev(trelease(t_NiþÿÿÿiýÿÿÿtinternalcCs5|jƒjddƒ}|dk	r1||d<ndS(Ntsource(textratgettNone(tctxRts((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt
_savegraft scCs|jƒ|d<dS(Ntbranch(R(RR((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt_savebranch%scs‡fd†}|S(s²make an extrafn out of the given copy-functions.

    A copy function takes a context and an extra dict, and mutates the
    extra dict as needed based on the given context.
    cs"xˆD]}|||ƒqWdS(N((RRtc(tcopiers(s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytextrafn.s
((RR((Rs0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt_makeextrafn(strebaseRRts#rebase from the specified changesettREVtbtbasesarebase from the base of the specified changeset (up to greatest common ancestor of base and dest)trtrevsrebase these revisionstdtdests#rebase onto the specified changesettcollapsescollapse the rebased changesetstmtmessages#use text as collapse commit messagetTEXTtetedits invoke editor on commit messagestltlogfiles&read collapse commit message from filetFILEtkeepskeep original changesetstkeepbranchesskeep original branch namestDtdetachs(DEPRECATED)ttttoolsspecify merge toolRtcontinuescontinue an interrupted rebasetatabortsabort an interrupted rebases#[-s REV | -b REV] [-d REV] [OPTION]c9s
d?}}d?}t}i}tƒ}tƒ}	tj|}
d?}}z¿ˆjƒ}ˆjƒ}|jdd?ƒ}
|jdd?ƒ}|jdd?ƒ}|jdgƒ}|jdƒ}|jdƒ}|jdtƒ}tj	||ƒ}|jdƒ}t
g}|r|g}n|jd	tƒ}|jd
tƒ}|jdtƒ}|rq|rqtjt
dƒƒ‚n|s}|rÆ|r¡|r¡tjt
d
ƒƒ‚n|r¿tjt
dƒƒ‚n|sÑ|sÑ|
rétjt
dƒƒ‚n|jdtƒr|jt
dƒƒny+tˆƒ\	}}}}}}}}}Wnktjk
r©|rytˆƒˆjjt
dƒƒdSt
dƒ}t
dƒ}tj|d|ƒ‚nX|r˜tˆ|||ƒSnÒ|rê|rêtjt
dƒƒ‚n|r|rtjt
dƒƒ‚n|r2|r2tjt
dƒƒ‚ntjˆƒtjˆƒ|
soˆd?jƒ}ˆ|}ntjˆ|
ƒ}|r¹tjˆ|ƒ}|s[|jt
dƒƒdSn¢|rtjˆ|gƒ}|sñ|jt
dƒƒdSˆjd|ƒ}|s[t‚nItjˆ|p$dgƒ} | sJ|jt
dƒƒdSˆjd | || ƒ}|s[| |jƒgkr³|r|jt
d!ƒ|ƒqW|jt
d"ƒƒn¤ˆjd#| |ƒs!|r|jt
d$ƒd%j‡fd&†| Dƒƒ|fƒqW|jt
d'ƒ|ƒn6|jt
d(ƒd%j‡fd)†| Dƒƒ|fƒdS|pgt j!r¤ˆjd*||ƒr¤tjt
d+ƒdt
d,ƒƒ‚nt"ˆ|||ƒ}!|!sÖ|jt
d-ƒƒdSt#|ƒ}"|r&ˆ|"j$ƒr&tjt
d.ƒˆ|"dt
d/ƒƒ‚n|!\}}}|rkˆj%j&|gd0t'ƒ}	t(ˆ||	ƒ}n|j)ƒr˜|r˜|jt
d1ƒ|ƒn|r|j*dt+ƒ|rtƒ}#xR|D]G}$|#j,ˆ|$jƒƒt-|#ƒdkrÄtjt
d2ƒƒ‚qÄqÄWqn|	s9ˆj%j&|gd0t'ƒ}	nˆj.j/ƒ}%|pTˆj0}|rmt1j2ˆƒnt3|ƒ}&t4|ƒ}'t-|'ƒ}(d})xL|'D]D}$|)d7})||$d3krž|j5t
d4ƒ|)d5|$ˆ|$ft
d6ƒ|(ƒt6ˆ|$|||	ƒ\}*}+t7ˆ||||||||ƒ	t-ˆj8ƒƒd7kr\ˆjj9d8ƒn†zl|j:d9d:|jdd;ƒd<ƒt;ˆ|$|*||ƒ},|,rÇ|,d=dkrÇtj<t
d>ƒƒ‚nWd?|j:d9d:d;d<ƒX|rþtj=ˆ|$|ƒn/ˆ|$j>ƒjƒ}-tj=ˆ|$|-d@|ƒ|sW	t?ˆ|$|*|+d|&dA|
ƒ}.nˆj@ˆ|*jAƒƒd?}.|.d?k	r—	ˆ|.jƒ||$<qâ	|sÕ	|jBt
dBƒ|$ƒ|j9dC|*ƒ|j,|$ƒn|*||$<qžqžW|j5t
d4ƒd?ƒ|jBt
dDƒƒ|r
|r
t6ˆt#|ƒ|||	ƒ\}*}+|rO
|}/n`dE}/xE|D]=}0|0|kr\
||0tCkr\
|/dFˆ|0jDƒ7}/q\
q\
WtjdGt'ƒ}
t?ˆ|$|*|dH|/d|&dA|
ƒ}.x4|jEƒD]#}1||1tCkrã
|.||1<qã
qã
WndIˆjFƒkr5tGˆ|||n|%rži}2xG|jHƒD]9\}3}4|4tCkrNˆ|4jAƒ|2ˆ|3jAƒ<qNqNWˆ|jAƒ}5n|j||ƒ}6|6gˆd?j8ƒD]}7|7jƒ^qÄkr|jBt
dJƒƒtIjJˆ|6tƒn|s<d?}8|r#|.}8ntK|ˆ|||8ƒn|%rptLˆ|5|2|%ƒ|ˆj.krpd?}qpntˆƒ|jBt
dKƒƒtjMˆjNdLƒdMt'ƒ|rÏ|jBt
dNƒt-|ƒƒn|r
ˆdjAƒˆj.|kr
t1jOˆ|ƒnWd?tP||ƒXd?S(Osÿ
move changeset (and descendants) to a different branch

    Rebase uses repeated merging to graft changesets from one part of
    history (the source) onto another (the destination). This can be
    useful for linearizing *local* changes relative to a master
    development tree.

    You should not rebase changesets that have already been shared
    with others. Doing so will force everybody else to perform the
    same rebase or they will end up with duplicated changesets after
    pulling in your rebased changesets.

    In its default configuration, Mercurial will prevent you from
    rebasing published changes. See :hg:`help phases` for details.

    If you don't specify a destination changeset (``-d/--dest``),
    rebase uses the current branch tip as the destination. (The
    destination changeset is not modified by rebasing, but new
    changesets are added as its descendants.)

    You can specify which changesets to rebase in two ways: as a
    "source" changeset or as a "base" changeset. Both are shorthand
    for a topologically related set of changesets (the "source
    branch"). If you specify source (``-s/--source``), rebase will
    rebase that changeset and all of its descendants onto dest. If you
    specify base (``-b/--base``), rebase will select ancestors of base
    back to but not including the common ancestor with dest. Thus,
    ``-b`` is less precise but more convenient than ``-s``: you can
    specify any changeset in the source branch, and rebase will select
    the whole branch. If you specify neither ``-s`` nor ``-b``, rebase
    uses the parent of the working directory as the base.

    For advanced usage, a third way is available through the ``--rev``
    option. It allows you to specify an arbitrary set of changesets to
    rebase. Descendants of revs you specify with this option are not
    automatically included in the rebase.

    By default, rebase recreates the changesets in the source branch
    as descendants of dest and then destroys the originals. Use
    ``--keep`` to preserve the original source changesets. Some
    changesets in the source branch (e.g. merges from the destination
    branch) may be dropped if they no longer contribute any change.

    One result of the rules for selecting the destination changeset
    and source branch is that, unlike ``merge``, rebase will do
    nothing if you are at the branch tip of a named branch
    with two heads. You need to explicitly specify source and/or
    destination (or ``update`` to the other head, if it's the head of
    the intended source branch).

    If a rebase is interrupted to manually resolve a merge, it can be
    continued with --continue/-c or aborted with --abort/-a.

    Returns 0 on success, 1 if nothing to rebase or there are
    unresolved conflicts.
    R'RR#R%R7R9R(RR1R2tkeepopens+message can only be specified with collapses"cannot use both abort and continues*cannot use collapse with continue or aborts4abort and continue do not allow specifying revisionsR6stool option will be ignored
sFrebase aborted (no revision is removed, only broken state is cleared)
is#cannot continue inconsistent rebases-use "hg rebase --abort" to clear broken statethints'cannot specify both a source and a bases)cannot specify both a revision and a bases+cannot specify both a revision and a sources-empty "rev" revision set - nothing to rebase
is0empty "source" revision set - nothing to rebase
s(%ld)::t.s5empty "base" revision set - can't compute rebase set
s+(children(ancestor(%ld, %d)) and ::(%ld))::s6nothing to rebase - %s is both "base" and destination
sAnothing to rebase - working directory parent is also destination
s
%ld - ::%dsGnothing to rebase - "base" %s is already an ancestor of destination %s
t+c3s|]}tˆ|ƒVqdS(N(tstr(t.0R$(trepo(s0/usr/lib/python2.7/dist-packages/hgext/rebase.pys	<genexpr>ssVnothing to rebase - working directory parent is already an ancestor of destination %s
s nothing to rebase from %s to %s
c3s|]}tˆ|ƒVqdS(N(R>(R?R$(R@(s0/usr/lib/python2.7/dist-packages/hgext/rebase.pys	<genexpr>ssfirst(children(%ld) - %ld)s;can't remove original changesets with unrebased descendantss&use --keep to keep original changesetssnothing to rebase
s#can't rebase immutable changeset %sssee hg help phases for detailst	inclusives reopening closed branch head %s
s'cannot collapse multiple named branchesiÿÿÿÿtrebasings%d:%st
changesetsisresuming interrupted rebase
tuit
forcemergeR Ris@unresolved conflicts (see hg resolve, then hg rebase --continue)Ntskiprevteditors no changes, revision %d skipped
snext revision set to %s
srebase merging completed
sCollapsed revisions
* %sR-t	commitmsgtqtips0update back to initial working directory parent
srebase completed
tundot
ignoremissings%d revisions have been skipped
(QRRtsetRtgetcommiteditortwlocktlockRtFalset
logmessageRRtAbortRtwarnt
restorestatusRtRepoLookupErrortclearstatusRDR9tcheckunfinishedt
bailifchangedRR	t	revsingletrevrangetstatustrevstAssertionErrorR%tjoinRt_enabledt
buildstatetmintmutablet	changelogt	ancestorstTruetexternalparenttclosesbranchtinsertRtaddtlent
_bookmarkstcopyt_bookmarkcurrentRtunsetcurrentRtsortedtprogresst
defineparentststorestatustparentstdebugt	setconfigt
rebasenodetInterventionRequiredtduplicatecopiestp1tconcludenodet
setparentstnodetnotet	nullmergetdescriptiontiterkeysttagstupdatemqt	iteritemsRt
updaterepotclearrebasedtupdatebookmarkst
unlinkpathtsjoint
setcurrentR(9RDR@toptst
originalwdttargettactivebookmarktexternaltstatetskippedttargetancestorsRGRORNtdestftsrcftbaseftrevftcontftabortft	collapseftcollapsemsgR,textrafnstkeepft
keepbranchesfR:tmsgR;RR't	rebasesettsrcR#tresulttroottbranchesR%tcurrentbookmarksRtsortedstatettotaltposRytp2tstatstp1revtnewrevRHtrebasedtoldrevtnstatetktvt
targetnodetnewwdRtcollapsedas((R@s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR3sºS
		
	
+



'			
"

#

	
%/	
 cCsõtƒ}t|ƒ}xu|D]m}||kr4qnxR||jƒD]@}|jƒ|krE|jƒ|krE|j|jƒƒqEqEWqW|s—tSt|ƒdkr³|jƒStj	t
dƒt|ƒdjd„t
|ƒDƒƒfƒ‚dS(sµReturn the revision that should be used as the second parent
    when the revisions in state is collapsed on top of targetancestors.
    Abort if there is more than one parent.
    isKunable to collapse on top of %s, there is more than one external parent: %ss, css|]}t|ƒVqdS(N(R>(R?tp((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pys	<genexpr>ËsN(RLRaRsR%RiRRjtpopRRRRtmaxR^Ro(R@RR‘RsRR%R³((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRf¶s 	

	cCs<y|j||jƒ||jƒƒ||}|dkrL|jƒ}ni|jƒd6}|ru|||ƒn|jd|d|jƒd|jƒd|d|ƒ}	|jj	||	j
ƒƒt|jƒt
jƒ}
||	jƒ}|rt
j||
|gƒn|	SWn$tjk
r7|jjƒ‚nXdS(s8Commit the changes and store useful information in extrat
rebase_sourcettexttusertdateRRGN(R{R|RRthextcommitR¸R¹tdirstatet	setbranchRRµtphaseR
tdrafttretractboundaryRRRt
invalidate(R@R%RyR§RHRGRRRRªttargetphasetnewnode((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRzÍs&$

cCsÅ|djƒ||jƒkrd|jjd||jƒ||fƒtj||tttƒn|jjdƒ|jjƒ|jjd||jƒ||fƒ||jƒ|t	|ƒjƒkrØd
}n‹||jƒs||jƒj
ƒ}nbx_||jƒD];}|j|jƒƒ||jƒkr|j
ƒ}PqqWd
}tdƒ‚|d
k	rš|jjd||jƒ||fƒntj||ttt||ddd	gƒS(sRebase a single revisionR<s update to %d:%s
s already in target
s merge against %d:%s
s4no base found to rebase on (rebasenode called wrong)s   detach base %d:%s
tlabelsR'RN(R%RDRtRtupdateRPReR¼twriteRaRR§RyR|RsRR](R@R%RyRR(R#R³((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRvæs( (
(&	%+cCsXg|D]}||tkr|^q}|jd||ƒ}|rP||dSdSdS(s8return the nearest ancestors of rev in the rebase resultsmax(%ld  and (::%d))iN(R~R\R(R@R%RR$R«t
candidates((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytnearestrebased"s
)c
CsÄ||jƒ}t}}|djƒ}||kr?|}nx||kr«||tkrd|}q·||tkržt|||ƒ}|dkr¨|}q¨q·||}n|}|}t|ƒdkrŒ|djƒ|krŒ|djƒ}	|	|kr[||kr||	}q‰||	tkrNt||	|ƒ}|dkrX|}qXq‰||	}qŒ|tkrƒtj	t
dƒ|ƒ‚n|	}n|jjd||jƒ||jƒfƒ||fS(sGReturn the new parent relationship of the revision that will be rebasediiis;cannot use revision %d as base, result would have 3 parentss future parents are %d and %d
N(
RsRR%R~t
revignoredRÈRRjRRRRRDRt(
R@R%RŒRR‘RsRyR§tP1ntP2n((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRq+s@
		
(


	"cCsUtjj|jj|ƒ}x3tjt|dƒƒD]}|jdƒr4tSq4Wt	S(s/Return true if the given patch is in git formattrbs
diff --git(
tostpathR^tmqRt
linereadertfilet
startswithReRP(R@t	patchnametmqpatchtline((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytisagitpatchVs
cKsºi}|j}|j}tƒ}x|jD]t}||jjƒ}	|	|kr|jjd|	|jfƒ|jt	||jƒf||	<q,|j
|jƒq,W|r¶|j||jƒƒx›t
|dtƒD]‡}	|	|krE||	\}
}|jjd||	|
fƒ|j|d
d|
d|dt||	ƒgƒqÓ|j
||	dƒqÓWg|D]+}|jj|dƒd|kre|^qe}
|
|j(t|_|jƒnd	S(s9Update rebased mq patches - finalize and then import thems.revision %d is an mq patch (%s), finalize it.
treversesimport mq patch %d (%s)
RÓtgitR%iiN((RÏt
fullseriesRLtappliedR|R%RDRttnameRÖRitfinishtkeysRoRetqimportR>tguard_retsplittseriesdirtyt	savedirty(R@RRRŠtmqrebaseRÏtoriginal_seriestskippedpatchesR³R%RÛtisgitRt	newseries((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR‚^s2	
	"
+
	cCsg|j}xM|jƒD]?\}}||kr||||<tj||g|ƒqqW|jƒdS(sEMove bookmarks to their correct changesets, and delete divergent onesN(RkRƒRtdeletedivergentRÆ(R@R°R­toriginalbookmarkstmarksR®R¯((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR††s	c	CsF|jddƒ}	|	j||jƒdƒ|	j||jƒdƒ|	j||jƒdƒ|	jdt|ƒƒ|	jdt|ƒƒ|	jdt|ƒƒ|	jd|pºdƒxf|jƒD]X\}
}||
jƒ}|tkr||jƒ}
n|}
|	jd||
fƒqÌW|	jƒ|jjdƒd	S(
s*Store the current status to allow recoverytrebasestatetws
s%d
s%s
R s%s:%s
srebase status stored
N(	topenerRÆRºtintRƒR~tcloseRDRt(R@R‹RŒRR(R1R2RŽRtfR&R¯R¬Rª((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRr‘s 
cCs tj|jdƒdtƒdS(sRemove the status filesRëRKN(RR‡R^Re(R@((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRV¦sc	CsyÁd}d}t}t}d}i}|jdƒ}xˆt|jƒjƒƒD]n\}}	|dkrz||	jƒ}
qO|dkr™||	jƒ}qO|dkr¸||	jƒ}qO|dkrÙtt	|	ƒƒ}qO|dkrútt	|	ƒƒ}qO|dkrtt	|	ƒƒ}qO|dkrOt
|	ƒd	koBd
|	krO|	}qO|	jd
ƒ\}}
|
tt
ƒttƒfkrŸt	|
ƒ|||jƒ<qO||
jƒ|||jƒ<qOW|dkråtjtdƒƒ‚ntƒ}|s^t|gƒ}xXt|jƒƒD]A\}}|tkrJ||krJ|j|ƒn|j|ƒqWn|jjdd
jd„t|ƒDƒƒpŒdƒ|jjdƒ|
||||||||f	SWn@tk
r}|jtjkrë‚ntjtdƒƒ‚nXdS(s"Restore a previously stored statusRëiiiiiiiiQt:s.hg/rebasestate is incompletescomputed skipped revs: %s
t css|]}t|ƒVqdS(N(R>(R?R$((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pys	<genexpr>Øssrebase status resumed
sno rebase in progressN(RRPRRít	enumeratetreadt
splitlinesR%tboolRîRjRàR>R~RÉRRRRRLRotitemsRiRDRtR^tIOErrorterrnotENOENT(R@R2RŒR(RŽRRRðtiR.R‹R1R¬RªRtseentoldtnewterr((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyRTªsZ%+	"	'cCs`g|jƒD]}|jƒ^q
}||kr5tSx$|jƒD]}||krBtSqBWtS(s9check whether the working dir is in an interrupted rebase(RsR%Ret
itervaluesRP(R@R‹RR³RsRª((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytinrebaseás%c
sÎg|jƒD]}|tkr
|^q
}g|D]}ˆ|jƒs2|^q2}t}|r¨ˆjjtdƒdj‡fd†|Dƒƒdtdƒƒt}nt	ƒ}	|rÒt	ˆj
j|ƒƒ}	n|	t	|ƒrˆjjtdƒƒt}n|rªtˆ||ƒr?t
jˆˆ|jƒtttƒnt‡fd†|jƒƒ}
|
rªgˆj	d|
ƒD]}|jƒ^qv}tjˆjˆ|ƒqªntˆƒˆjjtd	ƒƒd
S(s,Restore the repository to its original states0warning: can't clean up immutable changesets %s
s, c3s|]}tˆ|ƒVqdS(N(R>(R?R$(R@(s0/usr/lib/python2.7/dist-packages/hgext/rebase.pys	<genexpr>ôsR;ssee hg help phases for detailss?warning: new changesets detected on target branch, can't strip
cs|dko|ˆkS(Niÿÿÿÿ((tx(RŒ(s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt<lambda>ss
roots(%ld)srebase aborted
i(tvaluesRRbReRDRSRR^RPRLRctdescendantsRRRÅR%tfilterR|RtstripRV(
R@R‹RŒRRtdstatesR&t	immutabletcleanupRR«Rtstrippoints((R@RŒs0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR9ís0+) 
			&+
cCscd|jƒkrX|jƒg|jjD]}|j^q(krXtjtdƒƒ‚nt|jd|ƒƒ}|sŽtjtdƒƒ‚n|j	ƒi}tƒ}x|D]}|j
|ƒ}	|	|krçtjtdƒƒ‚n|	|krA|jƒ|jƒk}
|rA|
rA||jƒkrA|j
jdƒdSn|j
jd||fƒ|jtj|tƒƒt|jƒƒdkr®|j|jj|	jƒg|jƒgƒƒq®q®Wx'|D]}||krÈt||<qÈqÈWt|ƒdkrFt|jd	||ƒƒ}x+t|ƒt|ƒD]}
t||
<q/Wn|d
jƒ|jƒ|fS(syDefine which revisions are going to be rebased and where

    repo: repo
    dest: context
    rebaseset: set of rev
    RIs&cannot rebase onto an applied mq patchs
roots(%ld)sno matching revisionss!source is ancestor of destinations!source is a child of destination
s rebase onto %d starting from %s
is%ld::%ldR<N(RR|RÏRÚRRRRtlistRLtsorttancestorRtchildrenRDRtRRÅtdicttfromkeysRRjRsRctfindmissingrevsR%R~R\RÉ(R@R'RžR(RtrootsRt	detachsetR¡t
commonbaset
samebranchR$trebasedomaintignored((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR`s>%
	
&
cCs~tjr²g}x„t|jƒƒD]p\}}|dkr"||krOd}n)|dk	rk||f}n
||f}|j|||fƒq"q"W|rztj||ƒqznÈg|D]}||tkr¹|^q¹}	|	rzg}
xn|jd|	ƒD]Z}t|j	j
|jƒgƒƒt|ƒrA|jt
dƒƒqú|
j|jƒƒqúW|
rztj|||
dƒqzndS(sdispose of rebased revision at the end of the rebase

    If `collapsedas` is not None, the rebase was a collapse whose result if the
    `collapsedas` node.is
roots(%ld)sAwarning: new changesets detected on source branch, not stripping
tallN((RR_RoR÷Rtappendt
createmarkersR~RLRcRR%RSRR|RR(RDR@RRR²tmarkersR%RªtsuccsR«tstrippedR¡((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyR…hs*		
)+cOsš|jdƒr\|jdƒr5|d=|jdƒn|djƒ}t|ƒ}tj}d„}|t_z|||||ŽWd|t_Xt|ƒ}	|	|kr–d|kr¾|d=nt||||djƒ}
||
j	ƒ}||dj	ƒkrYt
j||ƒtj||g|djƒƒrV|j
tdƒ|jƒqVqYq–n:|jd	ƒrƒtjtd
ƒƒ‚n|||||ŽdS(sCCall rebase after pull if the latter has been invoked with --rebaseRRÅsC--update and --rebase are not compatible, ignoring the update flag
R<c_sdS(N((targstkwargs((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt_dummy”sNR%supdating bookmark %s
R6s%--tool can only be used with --rebase(RRtR|RjRtpostincomingRRRR%RRÅRR[RRmRRR(torigRDR@RRŠtmovemarkfromtrevsprepulltorigpostincomingR!trevspostpullRR'((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt
pullrebase‰s6			

"cCsìtjj|jdƒƒsdSyt|ƒd}Wn.tjk
rctdƒ}|j|ƒdSXt	g|j
ƒD]}|dkrt|^qtƒ}|jtdƒ|jtdƒdƒ||jtdƒd	ƒt	|ƒ|fƒdS(
NRëis8rebase: (use "hg rebase --abort" to clear broken state)
iÿÿÿÿs#rebase: %s, %s (rebase --continue)
s
%d rebasedsrebase.rebaseds%d remainingsrebase.remaining(RÍRÎtexistsR^RTRRURRÆRjRtlabel(RDR@RRRût
numrebased((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytsummaryhook¯s
1cCs tjtjdtƒ}|djdddtdƒfƒ|djdddtdƒfƒtj	j
dtƒtjjd	t
t
td
ƒtdƒgƒdS(
s8Replace pull with a decorator to provide --rebase optiontpulliR Rs'rebase working directory to branch headR5R6sspecify merge tool for rebaseRësrebase in progresss1use 'hg rebase --continue' or 'hg rebase --abort'N(RtwrapcommandRttableR(RRRRtsummaryhooksRiR,tunfinishedstatesRP(RDtentry((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pytuisetupÀs	(6t__doc__t	mercurialRRRRRRRRRR	R
RRtmercurial.commandsR
tmercurial.nodeRtmercurial.lockRtmercurial.i18nRRÍRùR~RÉtcmdtabletcommandt
testedwithRRRRPRRfRRzRvRÈRqRÖR‚R†RrRVRTRR9R`R…R(R,R3(((s0/usr/lib/python2.7/dist-packages/hgext/rebase.pyt<module>sv4.											ÿk		<			+		(				7		#	X!	&	

Copyright © 2017 || Recoded By Mr.Bumblebee