changeset 1243:9d10f89b75a5

Fix hgit revtree bug with stop revision handling
author root@coffee.suse.com
date Wed, 14 Sep 2005 13:14:20 -0500
parents 4a6efec8b698
children 937ee88da3ef
files contrib/hgit
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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