tests/test-issue433.t
author Mads Kiilerich <mads@kiilerich.com>
Sat, 18 Dec 2010 21:58:52 +0100
branchstable
changeset 13163 2fa2e6444645
parent 12346 3b165c127690
permissions -rw-r--r--
https: warn when server certificate isn't verified Mercurial will verify HTTPS server certificates if web.cacerts is configured, but it will by default silently not verify any certificates. We now warn the user that when the certificate isn't verified she won't get the security she might expect from https: warning: localhost certificate not verified (check web.cacerts config setting) Self-signed certificates can be accepted silently by configuring web.cacerts to point to a suitable certificate file.

http://mercurial.selenic.com/bts/issue433

  $ hg init
  $ echo a > a
  $ hg commit -Ama
  adding a

  $ hg parents -r 0 doesnotexist
  abort: 'doesnotexist' not found in manifest!
  [255]