Mercurial > hg
comparison mercurial/commands.py @ 11035:e4f911ce21de stable
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.
author | Michael Glassford <glassfordmjg@gmail.com> |
---|---|
date | Thu, 08 Apr 2010 11:00:46 -0400 |
parents | a0102da324ab |
children | af2a58ab4182 49e14ec67144 |
comparison
equal
deleted
inserted
replaced
11034:3b89899934a6 | 11035:e4f911ce21de |
---|