Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

clone: add qclone button

Changeset a36d8ac332cd

Parent d74f651dfccc

by Steve Borho

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

 
108
109
110
 
111
112
113
 
114
115
116
 
184
185
186
 
187
188
189
 
264
265
266
267
 
 
 
 
268
269
270
 
108
109
110
111
112
113
114
115
116
117
118
 
186
187
188
189
190
191
192
 
267
268
269
 
270
271
272
273
274
275
276
@@ -108,9 +108,11 @@
  self.noupdate_chk = QCheckBox(_('Do not update the new working directory'))   self.pproto_chk = QCheckBox(_('Use pull protocol to copy metadata'))   self.uncomp_chk = QCheckBox(_('Use uncompressed transfer')) + self.qclone_chk = QCheckBox(_('Include patch queue'))   optbox.addWidget(self.noupdate_chk)   optbox.addWidget(self.pproto_chk)   optbox.addWidget(self.uncomp_chk) + optbox.addWidget(self.qclone_chk)     self.proxy_chk = QCheckBox(_('Use proxy server'))   optbox.addWidget(self.proxy_chk) @@ -184,6 +186,7 @@
  self.pproto_chk.setVisible(visible)   self.uncomp_chk.setVisible(visible)   self.proxy_chk.setVisible(visible) + self.qclone_chk.setVisible(visible)   self.remote_chk.setVisible(visible)   self.remote_text.setVisible(visible)   self.startrev_chk.setVisible(visible and self.startrev_available()) @@ -264,7 +267,10 @@
  dest = os.path.join(os.path.dirname(dirabs), dest)     # prepare command line - cmdline = ['clone'] + if self.qclone_chk.isChecked(): + cmdline = ['qclone'] + else: + cmdline = ['clone']   if self.noupdate_chk.isChecked():   cmdline.append('--noupdate')   if self.uncomp_chk.isChecked():