merge with crew-stable
authorMartin Geisler <mg@lazybytes.net>
Thu, 02 Jul 2009 20:03:58 +0200
changeset 9019 fc5737e49193
parent 9017 c24c9ce0cdcf (current diff)
parent 9018 5ed463d0ebdb (diff)
child 9020 609b803dd252
merge with crew-stable
--- a/hgext/acl.py	Sat Jun 27 13:09:11 2009 +0200
+++ b/hgext/acl.py	Thu Jul 02 20:03:58 2009 +0200
@@ -84,7 +84,7 @@
     if source == 'serve' and 'url' in kwargs:
         url = kwargs['url'].split(':')
         if url[0] == 'remote' and url[1].startswith('http'):
-            user = urllib.unquote(url[2])
+            user = urllib.unquote(url[3])
 
     if user is None:
         user = getpass.getuser()