Mercurial > hg
comparison mercurial/mdiff.py @ 24252:f962692853c0
repair: define explicit local variable, don't reuse a comprehension variable
The node ID used in strip bundle names is currently taken as the last
iterated value in a list comprehension found much earlier in the function.
This change makes the node selection more explicit at the cost of redundancy.
author | Mike Edgar <adgar@google.com> |
---|---|
date | Tue, 10 Mar 2015 16:25:10 -0400 |
parents | a5a06c9c7407 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
24251:a330660b3d71 | 24252:f962692853c0 |
---|