This is an archive of the discontinued Mercurial Phabricator instance.

tests: avoid referring to pvec in demandimport test
ClosedPublic

Authored by martinvonz on Feb 16 2018, 2:40 PM.

Details

Summary

Nothing else currently uses pvec, so we may want to delete it (but
Augie Fackler says he may want to use it). To enable deletion, this
patch replaces it by the error module in the demandimport test (any
module works). However, since the error module had already been loaded
at this point in the test (via the util module), I moved it earlier in
the test so it's still not loaded (although I'm not sure if that's
even relevant to the test).

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.Feb 16 2018, 2:40 PM

+1 on decoupling this from pvec, but per discussion on D2288 revise commit message per pvec's (temporary) stay of execution?

martinvonz edited the summary of this revision. (Show Details)Feb 16 2018, 5:16 PM

+1 on decoupling this from pvec, but per discussion on D2288 revise commit message per pvec's (temporary) stay of execution?

Done

durin42 accepted this revision.Feb 16 2018, 5:22 PM
This revision is now accepted and ready to land.Feb 16 2018, 5:22 PM
This revision was automatically updated to reflect the committed changes.