obslog: more 4.1 code compatibility drop
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 22 Mar 2018 10:39:18 +0100
changeset 3607 5e2cfa64860c
parent 3606 9f2ba8ef517b
child 3608 d520df57d1c7
obslog: more 4.1 code compatibility drop
hgext3rd/evolve/obshistory.py
--- a/hgext3rd/evolve/obshistory.py	Thu Mar 22 10:38:01 2018 +0100
+++ b/hgext3rd/evolve/obshistory.py	Thu Mar 22 10:39:18 2018 +0100
@@ -619,9 +619,6 @@
 def _getdifflines(iterdiff):
     """return a cleaned up lines"""
     try:
-        # XXX-COMPAT Mercurial 4.1 compat
-        if isinstance(iterdiff, list) and len(iterdiff) == 0:
-            return None
         lines = iterdiff.next()
     except StopIteration:
         return None