D6697: cmdutil: add allowunfinished to prevent checkunfinished() on docommit()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Jul 26 09:00:11 EDT 2019


pulkit added inline comments.

INLINE COMMENTS

> cmdutil.py:274
>          """
> -        if not opts.get('interactive-unshelve'):
> +        if not (allowunfinished or opts.get('interactive-unshelve')):
>              checkunfinished(repo, commit=True)

Why not get rid of `interactive-shelve` passed by unshelve and make that pass `allowunfinished=True` to dorecord?

REPOSITORY
  rHG Mercurial

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

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

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list