This is an archive of the discontinued Mercurial Phabricator instance.

tests: don't use revlog paths in tests
ClosedPublic

Authored by indygreg on Apr 2 2018, 11:53 PM.

Details

Summary

Debug commands operating on revlogs don't need the full revlog
path: they can accept the relative path to a tracked file or use
-c/-m to specify a changelog or manifest.

Not using the revlog path makes tests more resilient to cases
where revlogs aren't being used for storage.

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

indygreg created this revision.Apr 2 2018, 11:53 PM
durin42 accepted this revision.Apr 3 2018, 11:15 AM
This revision is now accepted and ready to land.Apr 3 2018, 11:15 AM
This revision was automatically updated to reflect the committed changes.