mercurial/graphmod.py
changeset 7030 20a5dd5d6dd9
parent 6747 f6c00b17387c
child 7280 810ca383da9c
--- a/mercurial/graphmod.py	Fri Sep 05 17:28:37 2008 +0200
+++ b/mercurial/graphmod.py	Fri Sep 12 16:15:01 2008 +0200
@@ -27,6 +27,7 @@
     """
 
     assert start_rev >= stop_rev
+    assert stop_rev >= 0
     curr_rev = start_rev
     revs = []
     cl = repo.changelog