Ejemplo n.º 1
0
 def apply_selection(self):
     s = selection.single_selection()
     if self.model.stageable() and s.modified:
         self.stage_selection()
     elif self.model.unstageable():
         self.unstage_selection()
Ejemplo n.º 2
0
 def apply_selection(self):
     s = selection.single_selection()
     if self.model.stageable() and s.modified:
         self.stage_selection()
     elif self.model.unstageable():
         self.unstage_selection()
Ejemplo n.º 3
0
 def apply_selection(self):
     s = selection.single_selection()
     if self.model.stageable() and s.modified:
         self.process_diff_selection(staged=False)
     elif self.model.unstageable():
         self.process_diff_selection(staged=True)
Ejemplo n.º 4
0
 def apply_selection(self):
     s = selection.single_selection()
     if self.model.stageable() and s.modified:
         self.process_diff_selection()
     elif self.model.unstageable():
         self.process_diff_selection(reverse=True)