changeset 2633:59e85fbb31b6

obslog: small renaming of _debugobshistorysingle Rename _debugobshistorysingle to _debugobshistoryrevs in order to better reflect its purpose.
author Boris Feld <boris.feld@octobus.net>
date Mon, 19 Jun 2017 15:32:25 +0200
parents 62eb5a2d2112
children 36743bbdae7f
files hgext3rd/evolve/obshistory.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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