Mercurial > evolve
changeset 1571:0e8936e7cb89 stable
evolve: improve the confusing docstring for _orderrevs()
author | Greg Ward <greg@gerg.ca> |
---|---|
date | Sat, 07 Nov 2015 13:37:26 -0500 |
parents | 0edb2c25f806 |
children | 44e9c0a264de |
files | hgext/evolve.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Sat Nov 07 09:48:04 2015 -0500 +++ b/hgext/evolve.py Sat Nov 07 13:37:26 2015 -0500 @@ -1497,14 +1497,14 @@ def _orderrevs(repo, revs): """Compute an ordering to solve instability for the given revs - - Takes revs a list of instable revisions - - - Returns the same revisions ordered to solve their instability from the + revs is a list of unstable revisions. + + Returns the same revisions ordered to solve their instability from the bottom to the top of the stack that the stabilization process will produce eventually. - This ensure the minimal number of stabilization as we can stabilize each - revision on its final, stabilized, destination. + This ensures the minimal number of stabilizations, as we can stabilize each + revision on its final stabilized destination. """ # Step 1: Build the dependency graph dependencies, rdependencies = builddependencies(repo, revs)