changeset 9109:00909238d887

merge with crew-stable
author Martin Geisler <mg@lazybytes.net>
date Fri, 10 Jul 2009 12:49:29 +0200
parents 309c1d762e8e (current diff) eef406165507 (diff)
children 561ff8d9e4f0
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/url.py	Fri Jul 10 01:23:07 2009 +0200
+++ b/mercurial/url.py	Fri Jul 10 12:49:29 2009 +0200
@@ -441,6 +441,7 @@
             # let host port take precedence
             if ':' in host and '[' not in host or ']:' in host:
                 host, port = host.rsplit(':', 1)
+                port = int(port)
                 if '[' in host:
                     host = host[1:-1]