Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

pbranch: clean-up whitespace

Changeset ad4180fc254d

Parent 6fa25cb9ee01

by Johan Samyn

Changes to one file · Browse files at ad4180fc254d Showing diff from parent 6fa25cb9ee01 Diff from another changeset...

 
45
46
47
48
 
49
50
51
52
 
53
54
55
 
58
59
60
61
 
62
63
64
65
66
67
 
68
69
70
71
72
73
 
74
75
76
77
78
79
 
80
81
82
83
84
85
 
86
87
88
89
90
91
 
92
93
 
94
95
96
 
122
123
124
125
 
126
127
128
 
316
317
318
319
 
320
321
322
323
 
324
325
326
 
400
401
402
403
 
404
405
406
 
430
431
432
433
 
434
435
436
 
480
481
482
483
 
484
485
486
 
45
46
47
 
48
49
50
51
 
52
53
54
55
 
58
59
60
 
61
62
63
64
65
66
 
67
68
69
70
71
72
 
73
74
75
76
77
78
 
79
80
81
82
83
84
 
85
86
87
88
89
90
 
91
92
 
93
94
95
96
 
122
123
124
 
125
126
127
128
 
316
317
318
 
319
320
321
322
 
323
324
325
326
 
400
401
402
 
403
404
405
406
 
430
431
432
 
433
434
435
436
 
480
481
482
 
483
484
485
486
@@ -45,11 +45,11 @@
  repo.workingBranchChanged.connect(self.workingBranchChanged)     # Build child widgets - +   def BuildChildWidgets():   vbox = QVBoxLayout()   vbox.setContentsMargins(0, 0, 0, 0) - self.setLayout(vbox) + self.setLayout(vbox)   vbox.addWidget(Toolbar(), 1)   vbox.addWidget(BelowToolbar(), 1)   @@ -58,39 +58,39 @@
  tb.setEnabled(True)   tb.setObjectName("toolBar_patchbranch")   tb.setFloatable(False) - +   self.actionPMerge = a = QWidgetAction(self)   a.setIcon(geticon("hg-merge"))   a.setToolTip(_('Merge all pending dependencies'))   tb.addAction(self.actionPMerge)   self.actionPMerge.triggered.connect(self.pmerge_clicked) - +   self.actionBackport = a = QWidgetAction(self)   a.setIcon(geticon("go-previous"))   a.setToolTip(_('Backout current patch branch'))   #tb.addAction(self.actionBackport)   #self.actionBackport.triggered.connect(self.pbackout_clicked) - +   self.actionReapply = a = QWidgetAction(self)   a.setIcon(geticon("go-next"))   a.setToolTip(_('Backport part of a changeset to a dependency'))   #tb.addAction(self.actionReapply)   #self.actionReapply.triggered.connect(self.reapply_clicked) - +   self.actionPNew = a = QWidgetAction(self)   a.setIcon(geticon("fileadd")) #STOCK_NEW   a.setToolTip(_('Start a new patch branch'))   tb.addAction(self.actionPNew)   self.actionPNew.triggered.connect(self.pnew_clicked) - +   self.actionEditPGraph = a = QWidgetAction(self)   a.setIcon(geticon("edit-file")) #STOCK_EDIT   a.setToolTip(_('Edit patch dependency graph'))   tb.addAction(self.actionEditPGraph)   self.actionEditPGraph.triggered.connect(self.edit_pgraph_clicked) - +   return tb - +   def BelowToolbar():   w = QSplitter(self)   w.addWidget(PatchList()) @@ -122,7 +122,7 @@
  self.patchDiffMessage = QLabel()   self.patchDiffMessage.setAlignment(Qt.AlignCenter)   return self.patchDiffMessage - +   def PatchDiffDetails():   # pdiff view of selected patc   self.patchdiff = revdetails.RevDetailsWidget(self.repo) @@ -316,11 +316,11 @@
  return mgr.patchdesc(patch_name)   except:   return None - +   def pdiff(self, patch_name):   """   [pbranch] Execute 'pdiff --tips' command. - +   :param patch_name: Name of patch-branch   :retv: list of lines of generated patch   """ @@ -400,7 +400,7 @@
  col = model._columns.index('Name')   patchIndex = model.createIndex(index.row(), col)   return str(model.data(patchIndex).toString()) - +   def updatePatchCache(self, patchname):   # TODO: Parameters should include rev, as one patch may have several heads   # rev should be appended to filename and used by pdiff @@ -430,7 +430,7 @@
  pf.close()     return patchfile - +     def update_sensitivity(self):   """ Update the sensitivity of entire UI """ @@ -480,7 +480,7 @@
  menu.exec_(pos)     # Signal handlers - +   def patchBranchSelected(self, index):   patchname = self.patchFromIndex(index)   if self.is_patch(patchname):