D5969: uncommit: inform user if the commit is empty after uncommit

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Feb 15 14:59:51 EST 2019


pulkit added inline comments.

INLINE COMMENTS

> uncommit.py:87
> +    if not files:
> +        repo.ui.status(_("all files uncommitted, the commit is now empty\n"))
> +

how about something like this `(preserving the empty commit)`. The reason is that we need to tell that the empty commit is preserved more than the fact the commit is empty.

note the `(`, it makes it look like a help text.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list