compat: drop superfluous summary output
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 28 Feb 2017 14:25:35 +0100
changeset 1829 6dd3bb408725
parent 1828 2b80c01b3f58
child 1830 53aae4b4e791
compat: drop superfluous summary output All versions we support issues this output.
hgext3rd/evolve/__init__.py
--- a/hgext3rd/evolve/__init__.py	Tue Feb 28 14:24:04 2017 +0100
+++ b/hgext3rd/evolve/__init__.py	Tue Feb 28 14:25:35 2017 +0100
@@ -771,17 +771,6 @@
         else:
             ui.note(s)
 
-    # util.versiontuple was introduced in 3.6.2
-    if not util.safehasattr(util, 'versiontuple'):
-        nbunstable = len(getrevs(repo, 'unstable'))
-        nbbumped = len(getrevs(repo, 'bumped'))
-        nbdivergent = len(getrevs(repo, 'divergent'))
-        write('unstable: %i changesets\n', nbunstable)
-        write('bumped: %i changesets\n', nbbumped)
-        write('divergent: %i changesets\n', nbdivergent)
-    else:
-        # In 3.6.2, summary in core gained this feature, no need to display it
-        pass
     state = _evolvestateread(repo)
     if state is not None:
         # i18n: column positioning for "hg summary"