mercurial/rewriteutil.py
changeset 47375 8125bcd28a5c
parent 47271 055f7b9f2307
child 47553 debc29900b97
--- a/mercurial/rewriteutil.py	Tue May 25 09:20:30 2021 +0200
+++ b/mercurial/rewriteutil.py	Tue Jun 01 22:38:29 2021 -0700
@@ -111,7 +111,12 @@
                     b'    set experimental.evolution.allowdivergence=True to '
                     b'skip this check'
                 ) % (base_ctx, other_ctx, local_ctx)
-                raise error.InputError(msg)
+                raise error.InputError(
+                    msg,
+                    hint=_(
+                        b"see 'hg help evolution.instability' for details on content-divergence"
+                    ),
+                )
             else:
                 raise error.InputError(
                     msg,