branching: merge with stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 03 Feb 2019 12:04:50 +0100
changeset 4389 88887b2be07c
parent 4386 8494015ec24b (current diff)
parent 4388 20d1ceef2df2 (diff)
child 4390 312b9e8a4c9c
branching: merge with stable
--- a/debian/changelog	Wed Jan 30 04:45:40 2019 +0100
+++ b/debian/changelog	Sun Feb 03 12:04:50 2019 +0100
@@ -1,4 +1,4 @@
-mercurial-evolve (8.4.0) UNRELEASED; urgency=medium
+mercurial-evolve (8.4.0-1) unstable; urgency=medium
 
   * new upstream release
 
--- a/hgext3rd/evolve/compat.py	Wed Jan 30 04:45:40 2019 +0100
+++ b/hgext3rd/evolve/compat.py	Sun Feb 03 12:04:50 2019 +0100
@@ -261,7 +261,11 @@
     if graft:
         tca = _c1.ancestor(_c2)
 
-    limit = copies._findlimit(repo, c1.rev(), c2.rev())
+    # hg < 4.8 compat (dc50121126ae)
+    try:
+        limit = copies._findlimit(repo, c1, c2)
+    except (AttributeError, TypeError):
+        limit = copies._findlimit(repo, c1.rev(), c2.rev())
     if limit is None:
         # no common ancestor, no copies
         return {}, {}, {}, {}, {}