Mercurial > evolve
changeset 6454:2a2fde6c0aec stable
precheck: remove obsolete comment
It was added in 65d4e47d7f26, and applied to the code that was executed if the
if block right above this line (i.e. one that returns the result of core
precheck) did not run (in other words, it applied to the imaginary "else"
clause). Now we have a different check in the if block above, and the
compatibility comment placed is above it. So let's remove this obsolete
comment that no longer applies.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 16 Mar 2023 20:29:53 -0300 |
parents | 2d669479d122 |
children | 31296f71c121 |
files | hgext3rd/evolve/rewriteutil.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/rewriteutil.py Wed Mar 15 19:44:00 2023 -0300 +++ b/hgext3rd/evolve/rewriteutil.py Thu Mar 16 20:29:53 2023 -0300 @@ -65,7 +65,6 @@ return corerewriteutil.precheck(repo, revs, action, check_divergence=check_divergence) - # hg <= 5.8 (d90f6237) if node.nullrev in revs: msg = _(b"cannot %s the null revision") % (action) hint = _(b"no changeset checked out")