Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable sync: add --debug to options dialog (refs #243)

Users often need to debug synchronization problems.

Changeset 1d2c31a6fa90

Parent bbe09b6b5712

by Steve Borho

Changes to one file · Browse files at 1d2c31a6fa90 Showing diff from parent bbe09b6b5712 Diff from another changeset...

 
568
569
570
 
 
571
572
573
 
1340
1341
1342
 
1343
1344
1345
 
1357
1358
1359
 
 
 
 
 
1360
1361
1362
 
1379
1380
1381
 
1382
1383
1384
 
568
569
570
571
572
573
574
575
 
1342
1343
1344
1345
1346
1347
1348
 
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
 
1387
1388
1389
1390
1391
1392
1393
@@ -568,6 +568,8 @@
  cmdline = self.applyTargetOption(cmdline)   if self.opts.get('noproxy'):   cmdline += ['--config', 'http_proxy.host='] + if self.opts.get('debug'): + cmdline.append('--debug')     cururl = self.currentUrl(False)   if not cururl: @@ -1340,6 +1342,7 @@
  _('Allow push of a new branch (--new-branch)'))   self.newbranchcb.setChecked(opts.get('new-branch', False))   layout.addRow(self.newbranchcb, None) +   self.forcecb = QCheckBox(   _('Force push or pull (override safety checks, --force)'))   self.forcecb.setChecked(opts.get('force', False)) @@ -1357,6 +1360,11 @@
  proxy = self.repo.ui.config('http_proxy', 'host')   self.noproxycb.setEnabled(bool(proxy))   + self.debugcb = QCheckBox( + _('Emit debugging output (--debug)')) + self.debugcb.setChecked(opts.get('debug', False)) + layout.addRow(self.debugcb, None) +   lbl = QLabel(_('Remote command:'))   self.remotele = QLineEdit()   if opts.get('remotecmd'): @@ -1379,6 +1387,7 @@
  outopts['force'] = self.forcecb.isChecked()   outopts['new-branch'] = self.newbranchcb.isChecked()   outopts['noproxy'] = self.noproxycb.isChecked() + outopts['debug'] = self.debugcb.isChecked()     self.outopts = outopts   QDialog.accept(self)