# HG changeset patch # User Simon Heimberg # Date 1370464963 -7200 # Node ID cdc612db2ffba845d00885c9759f0c2d81f46397 # Parent 6cd8403e070fc02dda5e11d911cf1a6920a112ac run-tests: open hgrc file only for writing The file is not read here. Opening with "w+" is unnecessary. diff -r 6cd8403e070f -r cdc612db2ffb tests/run-tests.py --- a/tests/run-tests.py Wed Jun 05 22:06:16 2013 +0200 +++ b/tests/run-tests.py Wed Jun 05 22:42:43 2013 +0200 @@ -333,7 +333,7 @@ def createhgrc(path, options): # create a fresh hgrc - hgrc = open(path, 'w+') + hgrc = open(path, 'w') hgrc.write('[ui]\n') hgrc.write('slash = True\n') hgrc.write('interactive = False\n')