Fix hgit revtree bug with stop revision handling
authorroot@coffee.suse.com
Wed, 14 Sep 2005 13:14:20 -0500
changeset 1243 9d10f89b75a5
parent 1242 4a6efec8b698
child 1244 937ee88da3ef
Fix hgit revtree bug with stop revision handling
contrib/hgit
--- a/contrib/hgit	Wed Sep 14 12:35:10 2005 -0500
+++ b/contrib/hgit	Wed Sep 14 13:14:20 2005 -0500
@@ -256,13 +256,13 @@
         while visit:
             n = visit.pop(0)
             if n in stop_sha1:
-                break
+                continue
             for p in repo.changelog.parents(n):
                 if p not in reachable[i]:
                     reachable[i][p] = 1
                     visit.append(p)
                 if p in stop_sha1:
-                    break
+                    continue
 
     # walk the repository looking for commits that are in our
     # reachability graph