tests/test-config-case.t
author Patrick Mezard <patrick@mezard.eu>
Sun, 26 Feb 2012 17:10:55 +0100
changeset 16182 bd12ef347680
parent 12082 5e2216a35839
child 17015 73d20de5f30b
permissions -rw-r--r--
match: consider filesets as "anypats" Matt suggested this on IRC, I do not think the choice is obvious, but this one makes things simpler because while filesets are turned into a list of files into the match objects, it would more be difficult to tell invalid files passed in pats from those expanded from filesets.

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

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