This is an archive of the discontinued Mercurial Phabricator instance.

debugcommands: force import of fileset in debugfileset
ClosedPublic

Authored by durin42 on Aug 9 2018, 12:02 PM.

Details

Summary

It looks like Python 3's lazy importer is better than Python 2's for
this command, and as a result we had no symbols in the filesetlang
symbol table, which resulted in some really mysterious test-fileset.t
failures around withstatus optimizations. Inserting this explicit
import and forcing its evaluation fixes the test failure.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Aug 9 2018, 12:02 PM
pulkit accepted this revision.Aug 9 2018, 2:04 PM
This revision was automatically updated to reflect the committed changes.