This is an archive of the discontinued Mercurial Phabricator instance.

requires: use atomictemp=True when writing .hg/requires
ClosedPublic

Authored by martinvonz on Nov 14 2018, 3:05 PM.

Details

Summary

We use an unusual file system at Google that allows writes (and
renames) but not deletions (for certain paths). That causes problems
when writing the requires files without atomictemp=True. There doesn't
appear to be any real drawbacks to using atomictemp, so I'm hoping we
can just change it in core.

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

martinvonz created this revision.Nov 14 2018, 3:05 PM
This revision was automatically updated to reflect the committed changes.