D5183: narrow: rework logic to check whether we need to widen and narrow

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Oct 23 11:24:15 EDT 2018


martinvonz accepted this revision.
martinvonz added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> narrowcommands.py:429
> +    if not widening and not narrowing:
> +        ui.status(_("nothing to extend or narrow\n"))
> +        return 0

nit: s/extend/widen/? that seems like the natural opposite to (the verb) "narrow"

REPOSITORY
  rHG Mercurial

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

To: pulkit, durin42, martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list