evolve: preserve compatibility for hg < 4.8 versions
This patch make sure evolve don't break if user using a version of
hg before this 7694b685bb10 patch on hg-committed.
--- a/hgext3rd/evolve/compat.py Sat Mar 09 19:25:34 2019 +0530
+++ b/hgext3rd/evolve/compat.py Wed Mar 13 17:32:14 2019 +0530
@@ -420,7 +420,9 @@
return copy, movewithdir, diverge, renamedelete, dirmove
-if util.safehasattr(copies, '_fullcopytracing'):
+# hg <= 4.9 compat (7694b685bb10)
+fixupstreamed = util.safehasattr(scmutil, '_movedirstate')
+if not fixupstreamed:
copies._fullcopytracing = fixedcopytracing
if not util.safehasattr(obsutil, "_succs"):