This is an archive of the discontinued Mercurial Phabricator instance.

tests: improve the widening testing in test-narrow-widen*
ClosedPublic

Authored by pulkit on Sep 4 2018, 9:01 AM.

Details

Summary

Before this patch, we are testing hg tracked --addinclude by adding a command
which is not introduced in the changesets till now.

If you closely look at the tests, wider/f was introduced on the server after the
narrow clone was done and extending the existing clone to include wider/f does
not make sense. We should test extending a file which exists.

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

pulkit created this revision.Sep 4 2018, 9:01 AM
This revision was automatically updated to reflect the committed changes.