Mercurial > hg
comparison hgext/strip.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 | e53f6b72a0e4 |
children | 135b23868f45 |
comparison
equal
deleted
inserted
replaced
24251:a330660b3d71 | 24252:f962692853c0 |
---|