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

stable history: validate sync path before pulls

For some inexplicable reason, we were converting '***' back to the real
password for incoming, but not for pull.

Fixes #751

Changeset 2849fee4b610

Parent 05c59a566006

by Steve Borho

Changes to one file · Browse files at 2849fee4b610 Showing diff from parent 05c59a566006 Diff from another changeset...

 
1280
1281
1282
 
1283
1284
1285
1286
1287
1288
1289
 
1290
1291
1292
 
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
 
1290
1291
1292
1293
@@ -1280,13 +1280,14 @@
  extensions.load(self.ui, 'rebase', None)     path = hglib.fromutf(self.pathentry.get_text()).strip() + remote_path = hglib.validate_synch_path(path, self.repo)   if not path:   gdialog.Prompt(_('No remote path specified'),   _('Please enter or select a remote path'),   self).run()   self.pathentry.grab_focus()   return - cmdline = ['hg'] + cmd + self.get_proxy_args() + [path] + cmdline = ['hg'] + cmd + self.get_proxy_args() + [remote_path]   dlg = hgcmd.CmdDialog(cmdline, text=' '.join(['hg'] + cmd))   dlg.show_all()   dlg.run()