##// END OF EJS Templates
rewriteutil: replace "null changeset" by "the null revision" in error message...
Martin von Zweigbergk -
r47779:7001f92e default
parent child Browse files
Show More
@@ -34,7 +34,7 b" def precheck(repo, revs, action=b'rewrit"
34 Make sure this function is called after taking the lock.
34 Make sure this function is called after taking the lock.
35 """
35 """
36 if nullrev in revs:
36 if nullrev in revs:
37 msg = _(b"cannot %s null changeset") % action
37 msg = _(b"cannot %s the null revision") % action
38 hint = _(b"no changeset checked out")
38 hint = _(b"no changeset checked out")
39 raise error.InputError(msg, hint=hint)
39 raise error.InputError(msg, hint=hint)
40
40
@@ -51,7 +51,7 b' Help for uncommit'
51 Uncommit with no commits should fail
51 Uncommit with no commits should fail
52
52
53 $ hg uncommit
53 $ hg uncommit
54 abort: cannot uncommit null changeset
54 abort: cannot uncommit the null revision
55 (no changeset checked out)
55 (no changeset checked out)
56 [10]
56 [10]
57
57
General Comments 0
You need to be logged in to leave comments. Login now