Patchwork D3020: children: : use repo['.'] instead of repo['']

login
register
mail settings
Submitter phabricator
Date April 2, 2018, 5:15 p.m.
Message ID <differential-rev-PHID-DREV-3cktnho7bhkxsxicknjs-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30132/
State Superseded
Headers show

Comments

phabricator - April 2, 2018, 5:15 p.m.
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
phabricator - April 2, 2018, 6:43 p.m.
pulkit added a comment.


  Edited commit message of this one to removed extra ': '.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3020

To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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]'),