D7633: clone: extract helper for checking mutually exclusive args

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Dec 16 18:20:30 EST 2019


martinvonz added inline comments.

INLINE COMMENTS

> pulkit wrote in cmdutil.py:263
> I agree that the current name can be bit misleading. `check_at_most_one_argument` seems clearer. Maybe `argument` -> `arg` will make it bit smaller ;)

Done. It ended up exactly the same length with the `arugment` -> `arg` change :)

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list