Skip to content
Snippets Groups Projects
Commit 7001f92e authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

rewriteutil: replace "null changeset" by "the null revision" in error message

The evolve extension uses "the null revision" and we seem to use that
term much more frequently in core too.

Differential Revision: https://phab.mercurial-scm.org/D10514
parent d55b7139
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
Make sure this function is called after taking the lock.
"""
if nullrev in revs:
msg = _(b"cannot %s null changeset") % action
msg = _(b"cannot %s the null revision") % action
hint = _(b"no changeset checked out")
raise error.InputError(msg, hint=hint)
......
......@@ -51,7 +51,7 @@
Uncommit with no commits should fail
$ hg uncommit
abort: cannot uncommit null changeset
abort: cannot uncommit the null revision
(no changeset checked out)
[10]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment