##// END OF EJS Templates
n is always 'True', we can only stop the loop with the break statement
Benoit Boissinot -
r2345:4f7745fc default
parent child Browse files
Show More
@@ -872,7 +872,7 b' class localrepository(object):'
872 b = []
872 b = []
873 for n in nodes:
873 for n in nodes:
874 t = n
874 t = n
875 while n:
875 while 1:
876 p = self.changelog.parents(n)
876 p = self.changelog.parents(n)
877 if p[1] != nullid or p[0] == nullid:
877 if p[1] != nullid or p[0] == nullid:
878 b.append((t, n, p[0], p[1]))
878 b.append((t, n, p[0], p[1]))
General Comments 0
You need to be logged in to leave comments. Login now