This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-v2: fix upgrade on an empty repository
ClosedPublic

Authored by marmoute on Dec 7 2021, 3:51 AM.

Details

Summary

This used to crash as the dirstate file does not exist in this case.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.Dec 7 2021, 3:51 AM
marmoute updated this revision to Diff 31338.Dec 7 2021, 4:06 AM
Alphare accepted this revision.Dec 7 2021, 11:36 AM
This revision is now accepted and ready to land.Dec 7 2021, 11:36 AM
This revision was automatically updated to reflect the committed changes.