schemes: fix // breakage with Python 2.6.5 (
issue2111)
Recent Pythons (e.g. 2.6.5 and 3.1) introduce a change that causes
urlparse.urlunparse(urlparse.urlparse('x://')) to return 'x:' instead of 'x://'i and
urlparse.urlunparse(urlparse.urlparse('x:///y')) to return 'x:/y' instead of 'x:///y'.
Fix url.hidepassword() and url.removeauth() to handle these cases.
i18n-pt_BR: synchronized with
ede19417c3c4
i18n-sv: syncronized with
e3396b218e10
log: remove useless condition
for "copied" to be not None, it requires follow=True
help config: update windows documentation to match implementation
This shows how confusing the current implementation is on Windows.
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.