# HG changeset patch # User Boris Feld # Date 1497879145 -7200 # Node ID 59e85fbb31b6da72f84c22a4301c1563862d72c6 # Parent 62eb5a2d2112a07032b625fb036f347330d208e9 obslog: small renaming of _debugobshistorysingle Rename _debugobshistorysingle to _debugobshistoryrevs in order to better reflect its purpose. diff -r 62eb5a2d2112 -r 59e85fbb31b6 hgext3rd/evolve/obshistory.py --- a/hgext3rd/evolve/obshistory.py Mon Jun 19 10:33:36 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Mon Jun 19 15:32:25 2017 +0200 @@ -72,7 +72,7 @@ fm = ui.formatter('debugobshistory', opts) revs.reverse() - _debugobshistorysingle(fm, repo, revs) + _debugobshistoryrevs(fm, repo, revs) fm.end() @@ -280,8 +280,8 @@ walker = _obshistorywalker(repo.unfiltered(), revs, opts.get('all', False)) cmdutil.displaygraph(ui, repo, walker, displayer, edges) -def _debugobshistorysingle(fm, repo, revs): - """ Display the obsolescence history for a single revision +def _debugobshistoryrevs(fm, repo, revs): + """ Display the obsolescence history for revset """ precursors = repo.obsstore.precursors successors = repo.obsstore.successors