This is the mail archive of the
mailing list for the GCC project.
Re: Commit messages and the move to git
On 19/11/2019 19:32, Eric S. Raymond wrote:
> Richard Earnshaw (lists) <Richard.Earnshaw@arm.com>:
>> I was looking at the reposurgeon code last night, and I think I can see what
>> the problem *might* be, but I haven't had time to produce a testcase.
>> Some of our commits have mergeinfo that looks a bit like this:
>> which is a massive long list with a number of holes in it.
>> But I suspect the holes are really commits to other branches and that in the
>> above describes a linear chain along one branch. If so, rather than
>> producing links to each subgroup (and perhaps dropping single non-list
>> elements, the description can be mapped back to a contiguous sequence of
>> commits down a branch and thus should really resolve to a single child being
>> used for the merge source. At present, I think for the above we're seeing a
>> child reference created for each subrange in that list.
> I have no doubt you are correct. Detecting such interrupted ranges ia
> foing to be... interesting.
>> Incidentally, the mergeinfo pass on the gcc repo is currently taking about 8
>> hours on my machine, that's 80-90% of the entire conversion time. But it
>> might be related to the above.
> You must be running the old Python code, there was on O(n**2) in that
> phase that has since been fixed. Try the Go code from
> https://gitlab.com/esr/reposurgeon; it is *much* faster.
Nope, that was from running the go version from yesterday. This one, to
be precise: 1ab3c514c6cd5e1a5d6b68a8224df299751ca637
This pass used to be very fast a couple of weeks back, but something
went in recently that's caused a major slowdown.
Oh, and I've been having problems with the ChangeLogs command as well.
It used to run fine on my machine (128G), but now it's started blowing
memory and taking my X server down.