view tests/test-config-case.t @ 18879:93b03a222c3e

sslutil: try harder to avoid getpeercert problems We wrap both calls to getpeercert in a try/except to make sure we catch its bogus AttributeError.
author Matt Mackall <mpm@selenic.com>
date Fri, 05 Apr 2013 12:20:14 -0500
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