view tests/test-config-case.t @ 18714:7790d69af6d6

localrepo: iterate over manifest key/value pairs in status This saves us a couple of dict lookups in the common case, and improves the performance of the status method by 5% (measured with util.timed) in a repo with a large manifest.
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 22 Feb 2013 10:05:22 -0800
parents 73d20de5f30b
children
line wrap: on
line source

hide outer repo
  $ hg init

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

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