changeset 17640:2d750e885512

histedit: documents the between function
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 21 Sep 2012 00:30:07 +0200
parents d42cc3c880b6
children 811a657fae48
files hgext/histedit.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: