The patch follows attached

-- 
Att.
Diego de Oliveira
System Architect
[email protected]
www.diegooliveira.com
# HG changeset patch
# User Diego Oliveira <[email protected]>
# Date 1256146471 7200
# Branch stable
# Node ID e5be5ba7f5dc644410d6636e765a480912f5d51a
# Parent  421c2cf5fa5c0fc3542b43c94a9ed5db5f85b425
history: correct the use of password encoded URLs

when using password encoded URL(https://user:*[email protected]) the
string is not been converted to the real one(https://user:[email protected])

diff -r 421c2cf5fa5c -r e5be5ba7f5dc tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py	Thu Oct 22 00:07:33 2009 +0900
+++ b/tortoisehg/hgtk/history.py	Wed Oct 21 15:34:31 2009 -0200
@@ -1169,6 +1169,13 @@
             atexit.register(cleanup)
 
         bfile = path
+        
+        for alias, path_aux in self.repo.ui.configitems('paths'):
+            if path == alias:
+                path = path_aux
+            elif path == url.hidepassword(path_aux):
+                path = path_aux
+                
         for badchar in (':', '*', '\\', '?', '#'):
             bfile = bfile.replace(badchar, '')
         bfile = bfile.replace('/', '_')
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to