( )⚙ D1157 context: audit paths before clearing unknown files and dirs

This is an archive of the discontinued Mercurial Phabricator instance.

context: audit paths before clearing unknown files and dirs
ClosedPublic

Authored by mbthomas on Oct 17 2017, 11:15 AM.

Details

Summary

Fix regression introduced in D785.

In some circumstances, context.clearunknown can be called before the path is
audited. Audit the path before deleting any conflicting files.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mbthomas created this revision.Oct 17 2017, 11:15 AM
ryanmce accepted this revision.Oct 17 2017, 5:10 PM
ryanmce added a subscriber: ryanmce.

queued

This revision is now accepted and ready to land.Oct 17 2017, 5:10 PM
This revision was automatically updated to reflect the committed changes.