tests/test-config-case.t
author David M. Carr <david@carrclan.us>
Tue, 17 Jan 2012 19:10:58 -0500
changeset 15911 c654eac03452
parent 12082 5e2216a35839
child 17015 73d20de5f30b
permissions -rw-r--r--
add: fix subrepo recursion for explicit path handling When support for handling explicit paths in subrepos was added to the add command (9e99d2bbb1b1), subrepo recursion wasn't taken into account. This change adds an explicitonly argument to cmdutil.add to allow controlling which levels of recursion should include only explicit paths versus all matched paths.

  $ echo '[Section]' >> $HGRCPATH
  $ echo 'KeY = Case Sensitive' >> $HGRCPATH
  $ echo 'key = lower case' >> $HGRCPATH

  $ hg showconfig Section
  Section.KeY=Case Sensitive
  Section.key=lower case