Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable sync: set parent for message boxes

Changeset 17025c560486

Parent 7ea8d30f8c75

by David Golub

Changes to one file · Browse files at 17025c560486 Showing diff from parent 7ea8d30f8c75 Diff from another changeset...

 
36
37
38
39
 
 
40
41
42
 
922
923
924
925
 
926
927
928
 
940
941
942
943
 
944
945
946
 
1186
1187
1188
1189
 
1190
1191
1192
 
36
37
38
 
39
40
41
42
43
 
923
924
925
 
926
927
928
929
 
941
942
943
 
944
945
946
947
 
1187
1188
1189
 
1190
1191
1192
1193
@@ -36,7 +36,8 @@
  port = m.group(3)   folder = m.group(5) or '.'   else: - qtlib.WarningMsgBox(_('Malformed ssh URL'), hglib.tounicode(path)) + qtlib.WarningMsgBox(_('Malformed ssh URL'), hglib.tounicode(path), + parent=self)   host, port, folder = '', '', ''   elif path.startswith(('http://', 'https://', 'svn+https://')):   snpaqf = urlparse.urlparse(path) @@ -922,7 +923,7 @@
  and not self.targetcheckbox.isChecked()):   r = qtlib.QuestionMsgBox(_('Confirm Push to remote Repository'),   _('Push to remote repository\n%s\n?') - % urlu) + % urlu, parent=self)   if not r:   self.showMessage.emit(_('Push to %s aborted') % urlu)   self.pushCompleted.emit() @@ -940,7 +941,7 @@
  'are attempting to push involve the '   'creation of a new branch. Do you want '   'to create a new branch in the remote ' - 'repository?')) + 'repository?'), parent=self)   if r:   cmdline = self.lastcmdline   cmdline.extend(['--new-branch']) @@ -1186,7 +1187,7 @@
  path = self.origurl   if alias in cfg['paths']:   if not qtlib.QuestionMsgBox(_('Confirm URL replace'), - _('%s already exists, replace URL?') % alias): + _('%s already exists, replace URL?') % alias, parent=self):   return   cfg.set('paths', alias, path)   self.repo.incrementBusyCount()