summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/project.py b/project.py
index 4c8c2bab..a58af4ff 100644
--- a/project.py
+++ b/project.py
@@ -2681,8 +2681,10 @@ class Project(object):
2681 if self._allrefs: 2681 if self._allrefs:
2682 raise GitError('%s checkout %s ' % (self.name, rev)) 2682 raise GitError('%s checkout %s ' % (self.name, rev))
2683 2683
2684 def _CherryPick(self, rev): 2684 def _CherryPick(self, rev, ffonly=False):
2685 cmd = ['cherry-pick'] 2685 cmd = ['cherry-pick']
2686 if ffonly:
2687 cmd.append('--ff')
2686 cmd.append(rev) 2688 cmd.append(rev)
2687 cmd.append('--') 2689 cmd.append('--')
2688 if GitCommand(self, cmd).Wait() != 0: 2690 if GitCommand(self, cmd).Wait() != 0: