wix: new GUID for contrib.guid
to comply with the component GUID rules of Windows Installer, applied to
the change
6d9ff3374a81
contrib/mercurial.spec: drop git-viz
Follow-up to
9258228639ad
tags: delete unnecessary close() of atomictempfile
cachefile.rename() implies cachefile.close().
win32: detect console width on Windows
Original version by anatoly techtonik <techtonik@gmail.com>
Following advices from similar bzr code.
util: fix default termwidth() under Windows
sys.stdout.write('-'*80 + '\n')
or
sys.stdout.write('-'*80 + '\r')
do not work on Windows as they do on unix. On a 80 columns Windows console, the
extra CR or LF are interpreted as if belonging to the next line, so the first
command displays 2 lines (only one on unix) and the second one leave the line
visible and move back to the following line. To avoid this, we sacrifice one
column under Windows.