[PATCH] init: changed creation order of 00changelog and requires files (issue3960)
sid0 at fb.com
Mon Mar 17 21:26:44 CDT 2014
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.
More information about the Mercurial-devel