This is an archive of the discontinued Mercurial Phabricator instance.

tests: add tests for narrow clone when both sparse and narrow are enabled
ClosedPublic

Authored by pulkit on Dec 24 2018, 8:18 AM.

Details

Summary

This patch adds tests for doing a narrow clone when client has both sparse and
narrow enabled. As shown by this patch, we can see that the narrow clone has
sparse enabled which we does not want here. Upcoming patch will fix this.

Also while writing tests, I realized we don't have a flag to list the current
sparse profile.

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.