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

sync: do not allow operations to run without URLs

This would not do what the user expects

Changeset 8210e77759a7

Parent fd05f1e2faac

by Steve Borho

Changes to one file · Browse files at 8210e77759a7 Showing diff from parent fd05f1e2faac Diff from another changeset...

 
430
431
432
 
 
 
 
 
433
434
435
 
430
431
432
433
434
435
436
437
438
439
440
@@ -430,6 +430,11 @@
  cmdline.append('--' + name)   cmdline.append(val)   url = self.currentUrl(False) + if not url: + qtlib.InfoMsgBox(_('No URL selected'), + _('An URL must be selected for this operation.'), + parent=self) + return   safeurl = self.currentUrl(True)   display = ' '.join(cmdline + [safeurl]).replace('\n', '^M')   cmdline.append(url)