D2398: histedit: use the new stack definition for histedit

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Feb 23 21:40:55 EST 2018


indygreg requested changes to this revision.
indygreg added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> destutil.py:345
>      """Default base revision to edit for `hg histedit`."""
> -    default = ui.config('histedit', 'defaultrev', histeditdefaultrevset)
> -    if default:
> +    default = ui.config('histedit', 'defaultrev', None)
> +

This means we can mark the default value for this option as `None`.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list