
    	^c:	              
           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dS )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   r   rev   .s'   show children of the specified revisions   REVs   hg children [-r REV] [FILE]T)helpcategory	inferrepoNc                    t          j        |          }|                    d          }t          j        ||          }|rH|                    ||                                          }d |                                D             }n|                                }t          j        | ||          }|D ]}	|	                    |	           |
                                 dS )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`.

    r	   )changeidc                 6    g | ]}|                                 S  )	changectx).0fcctxs     0/usr/lib/python3/dist-packages/hgext/children.py
<listcomp>zchildren.<locals>.<listcomp>K   s"    DDD5U__&&DDD    N)r   byteskwargsgetr   	revsinglefilectxrevchildrenchangesetdisplayershowclose)
uirepofile_optsr   ctxfctx	childctxs	displayercctxs
             r   r   r   %   s    B %%D
((6

C

tS
)
)C #||ECGGII|66DDDMMOODDD		LLNN	-b$==I  tOOr   )N)__doc__mercurial.i18nr   	mercurialr   r   r   r   templateoptscmdtablecommand
testedwithCATEGORY_CHANGE_NAVIGATIONr   r   r   r   <module>r1      s                     #
)
H
%
%
 #
 	 A899AfII	
 	 A$%%3     !    r   