[Changed Subscribers] D11680: push: add option to abort on dirty working copy if parent is pushed

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sun Oct 17 16:45:31 UTC 2021


marmoute added inline comments.

INLINE COMMENTS

> commands.py:5638
> +            b'',
> +            b'allow-dirty',
> +            False,

To match other uI better we could have a `--check-dirty` flag that would turn the feature on and an `--no-check-dirty` who disable it.

With a `commands.push.check-dirty` (or something similar) that control the default value/behavior of this flag.

What do you think?

REPOSITORY
  rHG Mercurial

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

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

To: martinvonz, #hg-reviewers
Cc: marmoute, pulkit, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211017/642d8613/attachment-0002.html>


More information about the Mercurial-patches mailing list