( )⚙ D6878 hg: have `updatetotally` more thoroughly check updatecheck argument (API)

This is an archive of the discontinued Mercurial Phabricator instance.

hg: have `updatetotally` more thoroughly check updatecheck argument (API)
ClosedPublic

Authored by durin42 on Sep 25 2019, 11:10 AM.

Details

Summary

.. api::

`mercurial.hg.updatetotally` is now more thorough about checking
its `updatecheck` keyword argument. Previously invalid values
would have used the configured default updatecheck method, but now
will raise ValueError.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped