This is an archive of the discontinued Mercurial Phabricator instance.

narrow: use util.readfile() and improve error message using --narrowspec
ClosedPublic

Authored by pulkit on Sep 4 2018, 12:28 PM.

Details

Summary

This patch improves the error message and uses util.readfile() for reading
narrowspecs file while cloning.

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, 12:28 PM
This revision was automatically updated to reflect the committed changes.