##// END OF EJS Templates
pull-request: calculate ancestor in the same way as creation mode !
marcink -
r3721:32426262 new-ui
parent child Browse files
Show More
@@ -752,8 +752,8 b' class PullRequestModel(BaseModel):'
752 752 target_commit.raw_id, source_commit.raw_id, source_repo, merge=True,
753 753 pre_load=pre_load)
754 754
755 ancestor = target_repo.get_common_ancestor(
756 target_commit.raw_id, source_commit.raw_id, source_repo)
755 ancestor = source_repo.get_common_ancestor(
756 source_commit.raw_id, target_commit.raw_id, target_repo)
757 757
758 758 pull_request.source_ref = '%s:%s:%s' % (
759 759 source_ref_type, source_ref_name, source_commit.raw_id)
General Comments 0
You need to be logged in to leave comments. Login now