##// END OF EJS Templates
branches: reduce nesting in for loop
Yuya Nishihara -
r22639:79c4178b default
parent child Browse files
Show More
@@ -1104,7 +1104,8 b' def branches(ui, repo, active=False, clo'
1104 1104 reverse=True)
1105 1105
1106 1106 for tag, ctx, isactive, isopen in branches:
1107 if (not active) or isactive:
1107 if active and not isactive:
1108 continue
1108 1109 if isactive:
1109 1110 label = 'branches.active'
1110 1111 notice = ''
General Comments 0
You need to be logged in to leave comments. Login now