New candidate JEP: 357: Migrate from Mercurial to Git

Stuart Marks stuart.marks at oracle.com
Mon Jul 15 23:10:40 UTC 2019


On 7/15/19 1:10 PM, Joe Darcy wrote:
>> Additionally, not addressed:
>>   *) Existing hgupdater links in JBS would have to be updated, or they would 
>> break;
> 
> There is nothing in the JEP that requires or implies the old hg repos need to be 
> destroyed. I would recommend leaving them in place as read-only archives. 
> Barring that, I recommend a proxy to rewrite the hg links into equivalent git 
> ones. The Skara conversion process includes a map of corresponding hashes 
> between the hg and git repos.
> 
>>   *) External links to hg.o.j.n -- that were deemed to be permalinks to the 
>> JDK source code, perhaps
>> with lots of wishful thinking involved -- would break;
> 
> Breaking the links could be added as a non-goal of JEP. (I frequently use those 
> links myself.)

I think it's sensible to address this. Instead of a double negative (breaking 
the links is a non-goal) perhaps it should be added as a positive goal to 
preserve existing links where possible. Note that this doesn't imply that all 
the old hg repos need to be kept around. They could be; or perhaps some kind of 
smart proxy/redirector as mentioned above would be sufficient.

s'marks


More information about the discuss mailing list