Mercurial > hg
comparison contrib/casesmash.py @ 32175:456b4a32d75f
rebase: don't update state dict same way for each root
The update statement does not depend on anything in the loop, so just
move it before the loop and do it once. There are no cases where
update would happen 0 times before (and 1 now); the function returns
early in all such cases.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 11 Mar 2017 12:25:56 -0800 |
parents | 42a7301fb4d5 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
32174:e4a4ebfd9d8e | 32175:456b4a32d75f |
---|