D7641: rebase: use cmdutil.check_at_most_one_arg() for --confirm/--dry-run

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Dec 17 10:16:33 EST 2019


martinvonz added inline comments.

INLINE COMMENTS

> pulkit wrote in cmdutil.py:272
> Spotted in a later patch, need to replace `_` back to `-` before printing output.

Strings are immutable in Python, so it wasn't actually replaced, right? Or do I misunderstand your concern?

REPOSITORY
  rHG Mercurial

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7641/new/

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

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


More information about the Mercurial-devel mailing list