summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/project.py b/project.py
index 7c0c58f9..df1e2647 100644
--- a/project.py
+++ b/project.py
@@ -517,6 +517,9 @@ class Project(object):
517 old_merge = self.bare_git.rev_parse('%s@{1}' % merge) 517 old_merge = self.bare_git.rev_parse('%s@{1}' % merge)
518 except GitError: 518 except GitError:
519 old_merge = merge 519 old_merge = merge
520 if old_merge == '0000000000000000000000000000000000000000' \
521 or old_merge == '':
522 old_merge = merge
520 else: 523 else:
521 # The upstream switched on us. Time to cross our fingers 524 # The upstream switched on us. Time to cross our fingers
522 # and pray that the old upstream also wasn't in the habit 525 # and pray that the old upstream also wasn't in the habit