# HG changeset patch # User Pierre-Yves David # Date 1348180207 -7200 # Node ID 2d750e885512aefa7a5b0f699cdb26fe7cfd015f # Parent d42cc3c880b69d0ba769082dc28fd642568df7e1 histedit: documents the between function diff -r d42cc3c880b6 -r 2d750e885512 hgext/histedit.py --- a/hgext/histedit.py Mon Sep 24 15:54:45 2012 -0500 +++ b/hgext/histedit.py Fri Sep 21 00:30:07 2012 +0200 @@ -196,6 +196,9 @@ return files def between(repo, old, new, keep): + """select and validate the set of revision to edit + + When keep is false, the specified set can't have children.""" revs = [old] current = old while current != new: