[PATCH] init: changed creation order of 00changelog and requires files (issue3960)
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sun Apr 13 23:20:35 CDT 2014
Changes seems to have been requested to this patches long time ago,
Shall we expect a new version of this patches?
On 03/18/2014 02:52 PM, Matt Mackall wrote:
> On Mon, 2014-03-17 at 19:28 -0700, Pierre-Yves David wrote:
>> ccing Lucas with an email address that he can actually reach
>>
>> On 03/17/2014 07:26 PM, Siddharth Agarwal wrote:
>>> On 03/14/2014 04:52 PM, Lucas Moscovicz wrote:
>>>> Also, to solve the race problem that came up where an old client commited
>>>> something to the repo before both the requires and the 00changelog
>>>> file were
>>>> created and then the 00changelog file would overwrite that commit, the
>>>> initial
>>>> name of the .hg folder was changed to .hgtmp, getting renamed back to
>>>> .hg once
>>>> the requires and 00changelog files are created leaving no point in
>>>> time where
>>>> an old client can commit to the new styled repo.
>>>
>>> This bit should be in a followup patch.
>
> This is all just a little bit too hairy. I think there are some nice
> opportunities to tidy things up here, rather than make them more
> complicated.
>
More information about the Mercurial-devel
mailing list