
    q&f7	              
           d Z ddlmZ ddlmZmZmZmZ ej                  Zi Z	 ej                  e	      Z
dZ e
dddd ed	       ed
      fgez    ed      e
j                  d      dd       Zy)zcommand to display child changesets (DEPRECATED)

This extension is deprecated. You should use :hg:`log -r
"children(REV)"` instead.
    )_)cmdutil
logcmdutilpycompat	registrars   ships-with-hg-cores   children   rs   rev   .s'   show children of the specified revisions   REVs   hg children [-r REV] [FILE]T)helpcategory	inferrepoNc                    |j                  d      }t        j                  ||      }|rM|j                  ||j	                               }|j                         D cg c]  }|j                          }}n|j                         }t        j                  | |t        j                  |            }	|D ]  }
|	j                  |
        |	j                          yc c}w )aG  show the children of the given or working directory revision

    Print the children of the working directory's revisions. If a
    revision is given via -r/--rev, the children of that revision will
    be printed. If a file argument is given, revision in which the
    file was last changed (after the working directory revision or the
    argument to --rev if given) is printed.

    Please use :hg:`log` instead::

        hg children => hg log -r "children(.)"
        hg children -r REV => hg log -r "children(REV)"

    See :hg:`help log` and :hg:`help revsets.children`.

    rev)changeidN)getr   	revsinglefilectxr   children	changectxchangesetdisplayerr   byteskwargsshowclose)uirepofile_optsr   ctxfctxfcctx	childctxs	displayercctxs              0/usr/lib/python3/dist-packages/hgext/children.pyr   r   %   s    B ((5/C


tS
)C||ECGGI|648MMOD5U__&D	DLLN	--
D(&&t,I  tOO Es   C)N)__doc__mercurial.i18nr   	mercurialr   r   r   r   templateoptscmdtablecommand
testedwithCATEGORY_CHANGE_NAVIGATIONr        r"   <module>r-      s      ##
)

H
%
 #
 	 89fI	
 	 $%33 ! r,   