diff hgext3rd/evolve/templatekw.py @ 2610:ee37ab3de5f7

obsfate: split markers fetch from successor set annotation This will help to improve support for pruned changesets.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 16 Jun 2017 17:58:17 +0200
parents 4dd548327f89
children 45f5dbb24684
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:55:55 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:58:17 2017 +0200
@@ -141,7 +141,8 @@
 
     values = []
     for sset in successorssets:
-        raw = obshistory.preparesuccessorset(sset, pathcache)
+        rawmarkers = obshistory.successorsetallmarkers(sset, pathcache)
+        raw = obshistory.preparesuccessorset(sset, rawmarkers)
 
         # As we can't do something like
         # "{join(map(nodeshort, successors), ', '}" in template, manually