Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

synch: account for pw mangling when launching settings

Match the current path against known paths and their 'safe' representations.
Else a password mangled path will be added as new in the mangled syntax.

Changeset f7d3f4d6374e

Parent 9e003d415740

by Steve Borho

Changes to one file · Browse files at f7d3f4d6374e Showing diff from parent 9e003d415740 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​synch.py Stacked
 
441
442
443
444
 
445
446
447
 
441
442
443
 
444
445
446
447
@@ -441,7 +441,7 @@
  def conf_clicked(self, toolbutton, data=None):   newpath = hglib.fromutf(self.pathtext.get_text()).strip()   for alias, path in self.paths: - if path == newpath: + if newpath in (path, url.hidepassword(path)):   newpath = None   break   dlg = thgconfig.ConfigDialog(True)