changeset 2857:0c286d054bcd

warning: use 'divergent', not 'contentdivergent' on old Mercurial This was just an oversight in f6517779a7c4 (warning: rename warning message, 2017-08-24).
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 24 Aug 2017 10:48:38 -0700
parents f6517779a7c4
children 4b934144ed11
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Thu Aug 24 09:12:09 2017 +0200
+++ b/hgext3rd/evolve/__init__.py	Thu Aug 24 10:48:38 2017 -0700
@@ -777,7 +777,7 @@
     if newbumpeds > 0:
         ui.warn(base_msg % (newbumpeds, compat.TROUBLES['PHASEDIVERGENT']))
     if newdivergents > 0:
-        ui.warn(_('%i new contentdivergent changesets\n') % newdivergents)
+        ui.warn(base_msg % (newdivergents, compat.TROUBLES['CONTENTDIVERGENT']))
     return ret
 
 @eh.wrapfunction(mercurial.exchange, 'push')