summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/project.py b/project.py
index b8a347d9..ffbdfd1c 100644
--- a/project.py
+++ b/project.py
@@ -563,7 +563,7 @@ class Project(object):
563 _info("[%s] Consider merging or rebasing the" 563 _info("[%s] Consider merging or rebasing the"
564 " unpublished commits.", self.name) 564 " unpublished commits.", self.name)
565 return True 565 return True
566 else: 566 elif upstream_gain:
567 # We can fast-forward safely. 567 # We can fast-forward safely.
568 # 568 #
569 try: 569 try:
@@ -572,6 +572,10 @@ class Project(object):
572 return False 572 return False
573 self._CopyFiles() 573 self._CopyFiles()
574 return True 574 return True
575 else:
576 # Trivially no changes in the upstream.
577 #
578 return True
575 579
576 if merge == rev: 580 if merge == rev:
577 try: 581 try: