From patchwork Mon Apr 2 17:15:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3020: children: : use repo['.'] instead of repo[''] From: phabricator X-Patchwork-Id: 30132 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Mon, 2 Apr 2018 17:15:41 +0000 martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3020 AFFECTED FILES hgext/children.py CHANGE DETAILS To: martinvonz, #hg-reviewers Cc: mercurial-devel diff --git a/hgext/children.py b/hgext/children.py --- a/hgext/children.py +++ b/hgext/children.py @@ -35,7 +35,7 @@ testedwith = 'ships-with-hg-core' @command('children', - [('r', 'rev', '', + [('r', 'rev', '.', _('show children of the specified revision'), _('REV')), ] + templateopts, _('hg children [-r REV] [FILE]'),