This is an archive of the discontinued Mercurial Phabricator instance.

narrow: drop checkambig=True when restoring backup
ClosedPublic

Authored by martinvonz on Aug 3 2018, 5:24 PM.

Details

Summary

IIUC, checkambig is about updating timestamps of the file while
renaming. That's important for the dirstate, but we never check the
timestamp of the narrowspec file. We can therefore avoid checking
passing checkambig=True.

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.Aug 3 2018, 5:24 PM
martinvonz updated this revision to Diff 9873.Aug 3 2018, 8:12 PM
This revision was automatically updated to reflect the committed changes.