##// END OF EJS Templates
graph: don't try to get obsolete status for fake parent revisions...
Mads Kiilerich -
r7314:6834e126 default
parent child Browse files
Show More
@@ -149,7 +149,7 b' def _colored(repo, dag):'
149 b = branch(rev)
149 b = branch(rev)
150 searching = True
150 searching = True
151 for p in reversed(addparents):
151 for p in reversed(addparents):
152 obs[p] = int(repo[p].obsolete)
152 obs[p] = int(repo[p].obsolete) if p >= 0 else 0
153 if searching and branch(abs(p)) in [b, None]:
153 if searching and branch(abs(p)) in [b, None]:
154 # This is the first parent on the same branch - inherit the color
154 # This is the first parent on the same branch - inherit the color
155 colors[p] = color
155 colors[p] = color
General Comments 0
You need to be logged in to leave comments. Login now