hgext/children.py
changeset 8277 b9403042968a
parent 8228 eee2319c5895
child 8873 e872ef2e6758
equal deleted inserted replaced
8276:dd50067c2329 8277:b9403042968a
    15 
    15 
    16 def children(ui, repo, file_=None, **opts):
    16 def children(ui, repo, file_=None, **opts):
    17     """show the children of the given or working directory revision
    17     """show the children of the given or working directory revision
    18 
    18 
    19     Print the children of the working directory's revisions. If a
    19     Print the children of the working directory's revisions. If a
    20     revision is given via --rev/-r, the children of that revision will
    20     revision is given via -r/--rev, the children of that revision will
    21     be printed. If a file argument is given, revision in which the
    21     be printed. If a file argument is given, revision in which the
    22     file was last changed (after the working directory revision or the
    22     file was last changed (after the working directory revision or the
    23     argument to --rev if given) is printed.
    23     argument to --rev if given) is printed.
    24     """
    24     """
    25     rev = opts.get('rev')
    25     rev = opts.get('rev')