comparison tests/run-tests.py @ 5779:e9f68860d5ed

Don't let ui.username override web.contact (issue900) 4603eef60237 introduced using ui.username before web.contact, but this was never documented and might cause commit accidents. - Drop web.author (deprecated since 2005) - Try ui.username or $EMAIL as a fallback to display something useful. - Update docs for the fallbacks.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 01 Jan 2008 17:07:15 +0100
parents 0145f9afb0e7
children 4dfe7d5b1fc8
comparison
equal deleted inserted replaced
5778:9e97a7a0bb82 5779:e9f68860d5ed
403 403
404 # Reset some environment variables to well-known values so that 404 # Reset some environment variables to well-known values so that
405 # the tests produce repeatable output. 405 # the tests produce repeatable output.
406 os.environ['LANG'] = os.environ['LC_ALL'] = 'C' 406 os.environ['LANG'] = os.environ['LC_ALL'] = 'C'
407 os.environ['TZ'] = 'GMT' 407 os.environ['TZ'] = 'GMT'
408 os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>"
408 409
409 TESTDIR = os.environ["TESTDIR"] = os.getcwd() 410 TESTDIR = os.environ["TESTDIR"] = os.getcwd()
410 HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir) 411 HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir)
411 DAEMON_PIDS = None 412 DAEMON_PIDS = None
412 HGRCPATH = None 413 HGRCPATH = None