Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

0.7 synch: strip white space around path

fixes #46

Changeset b42ad74af550

Parent b6d25fb0822c

by Steve Borho

Changes to one file · Browse files at b42ad74af550 Showing diff from parent b6d25fb0822c Diff from another changeset...

Change 1 of 4 Show Entire File hggtk/​synch.py Stacked
 
19
20
21
22
 
23
24
25
 
433
434
435
436
 
437
438
439
 
451
452
453
454
 
455
456
457
 
500
501
502
503
 
504
505
506
 
19
20
21
 
22
23
24
25
 
433
434
435
 
436
437
438
439
 
451
452
453
 
454
455
456
457
 
500
501
502
 
503
504
505
506
@@ -19,7 +19,7 @@
 import threading  from mercurial import hg, ui, util, extensions  from dialog import error_dialog, question_dialog, info_dialog -from hglib import HgThread, toutf, rootpath, RepoError +from hglib import HgThread, fromutf, toutf, rootpath, RepoError  import shlib  import gtklib  import urllib @@ -433,7 +433,7 @@
  self._exec_cmd(cmd)     def _conf_clicked(self, toolbutton, data=None): - newpath = self._pathtext.get_text() + newpath = self._pathtext.get_text().strip()   for name, path in self.paths:   if path == newpath:   newpath = None @@ -451,7 +451,7 @@
  self.fill_path_combo()     def _email_clicked(self, toolbutton, data=None): - path = self._pathtext.get_text() + path = self._pathtext.get_text().strip()   if not path:   info_dialog(self, 'No repository selected',   'Select a peer repository to compare with') @@ -500,7 +500,7 @@
  proxy_host = ui.ui().config('http_proxy', 'host', '')   use_proxy = self._use_proxy.get_active()   text_entry = self._pathbox.get_child() - remote_path = str(text_entry.get_text()) + remote_path = fromutf(text_entry.get_text().strip())     cmdline = cmd[:]   cmdline += ['--verbose', '--repository', self.root]