Ensure tree is walked when ordering commits
In order for any ordering of merge-bases to be performed, rev-list needs to traverse the tree in order to ensure it returns the correct topological order. Change-Id: I027e3667d2ae1dba3ec51a2d9e116cb453b47729
This commit is contained in:
		| @@ -262,7 +262,7 @@ class UpstreamMergeBaseSearcher(LogDedentMixin, Searcher): | ||||
|                         %s | ||||
|                 """, (" \\\n" + " " * 8).join(merge_bases)) | ||||
|             sha1 = self.git.rev_list( | ||||
|                 *merge_bases, topo_order=True, max_count=1, no_walk=True) | ||||
|                 *merge_bases, topo_order=True, max_count=1) | ||||
|             # now that we have the sha1, make sure to save the commit object | ||||
|             self.commit = self.repo.commit(sha1) | ||||
|             self.log.debug("Most recent merge-base commit is: '%s'", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Darragh Bailey
					Darragh Bailey