D1070: config: graduate experimental.updatecheck to commands.update.check

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Oct 14 16:50:49 EDT 2017


durin42 added inline comments.

INLINE COMMENTS

> indygreg wrote in hg.py:761-766
> How do you feel about this alternative approach?
> 
>   updatecheck = ui.config('commands', 'update.check')
>   if updatecheck is None:
>       updatecheck = ui.config('experimental', 'updatecheck')
>   if updatecheck not in ('abort', ...):
>       updatecheck = 'linear'

Sure, that seems strictly better. Done.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1070

To: durin42, #hg-reviewers, lothiraldan, indygreg
Cc: indygreg, lothiraldan, morisgi, mercurial-devel


More information about the Mercurial-devel mailing list