diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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: |
