This instance will be upgraded to Heptapod 0.21.0rc3 on 2021-04-23 at 10:30 UTC+2 (a few minutes of down time)

Commit a6dd0c9c authored by Martin von Zweigbergk's avatar Martin von Zweigbergk

destutil: raise more specific error when histedit.defaultrev is empty

Differential Revision:
parent 1bf1dcbc9950
......@@ -405,7 +405,7 @@ def desthistedit(ui, repo):
elif default:
revs = scmutil.revrange(repo, [default])
raise error.Abort(
raise error.ConfigError(
_(b"config option histedit.defaultrev can't be empty")
......@@ -127,7 +127,7 @@ Test invalid config default
$ hg histedit --config "histedit.defaultrev="
abort: config option histedit.defaultrev can't be empty
Run on a revision not descendants of the initial parent
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment