# HG changeset patch # User Pierre-Yves David # Date 1497628467 -7200 # Node ID 4dd548327f89d22c4660096a4ba04c32a5189ae4 # Parent 054d92586e439bc3948eee9e592a4e1dcd43a026 obsfate: mark 'preparesuccessorset' as public It is used in another module so it is not really private. diff -r 054d92586e43 -r 4dd548327f89 hgext3rd/evolve/obshistory.py --- a/hgext3rd/evolve/obshistory.py Fri Jun 16 16:51:31 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Fri Jun 16 17:54:27 2017 +0200 @@ -671,7 +671,7 @@ return markers -def _preparesuccessorset(successorset, pathscache): +def preparesuccessorset(successorset, pathscache): """ For a successor set, get all related markers, compute the set of user, the min date and the max date """ diff -r 054d92586e43 -r 4dd548327f89 hgext3rd/evolve/templatekw.py --- a/hgext3rd/evolve/templatekw.py Fri Jun 16 16:51:31 2017 +0200 +++ b/hgext3rd/evolve/templatekw.py Fri Jun 16 17:54:27 2017 +0200 @@ -141,7 +141,7 @@ values = [] for sset in successorssets: - raw = obshistory._preparesuccessorset(sset, pathcache) + raw = obshistory.preparesuccessorset(sset, pathcache) # As we can't do something like # "{join(map(nodeshort, successors), ', '}" in template, manually