diff -r 1bf1dcbc9950 -r c7abdbc8fd47 mercurial/destutil.py --- a/mercurial/destutil.py Tue Oct 20 08:56:00 2020 -0700 +++ b/mercurial/destutil.py Tue Nov 10 09:14:01 2020 -0800 @@ -405,7 +405,7 @@ elif default: revs = scmutil.revrange(repo, [default]) else: - raise error.Abort( + raise error.ConfigError( _(b"config option histedit.defaultrev can't be empty") )