Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable history: correct the use of password encoded URLs

when using password encoded URL(https://user:***@server.com) the
string is not been converted to the real one(https://user:pass@server.com)

Changeset 7c8f627fb3cb

Parent 9eaac1de86f9

by Diego Oliveira

Changes to one file · Browse files at 7c8f627fb3cb Showing diff from parent 9eaac1de86f9 Diff from another changeset...

 
1169
1170
1171
 
 
 
 
 
 
 
1172
1173
1174
 
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
@@ -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('/', '_')