D5940: uncommit: make experimental.uncommitondirtydir to work on PATH (issue5977)

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Mar 1 13:42:22 EST 2019


pulkit added inline comments.

INLINE COMMENTS

> uncommit.py:162
> +            hint = _('requires experimental.uncommitondirtywdir to uncommit')
> +            if not pats:
> +                cmdutil.bailifchanged(repo, hint=hint)

how about `if not pats or isdirtypath`?

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list