hgext/evolve.py
changeset 1411 64515965c0df
parent 1410 2c451fece7a6
child 1412 8794a4680bdd
--- a/hgext/evolve.py	Fri Jun 19 14:26:33 2015 -0700
+++ b/hgext/evolve.py	Fri Jun 19 17:03:40 2015 -0700
@@ -1339,8 +1339,8 @@
     return repo[newer[0][0]].rev()
 
 def builddependencies(repo, revs):
-    """ returns dependency graphs giving an order to solve instability of revs
-    (see orderrevs for more information on usage) """
+    """returns dependency graphs giving an order to solve instability of revs
+    (see _orderrevs for more information on usage)"""
 
     # For each troubled revision we keep track of what instability if any should
     # be resolved in order to resolve it. Example:
@@ -1380,8 +1380,8 @@
     return revs
 
 
-def orderrevs(repo, revs):
-    """ Compute an ordering to solve instability for the given revs
+def _orderrevs(repo, revs):
+    """Compute an ordering to solve instability for the given revs
 
     - Takes revs a list of instable revisions
 
@@ -1537,7 +1537,7 @@
     count = len(revs)
     # Order the revisions
     if targetcat == 'unstable':
-        revs = orderrevs(repo, revs)
+        revs = _orderrevs(repo, revs)
     for rev in revs:
         progresscb()
         _solveone(ui, repo, repo[rev], dryrunopt, confirmopt,