Mercurial > hg
diff mercurial/parser.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 | 0f41f1e3c75c |
children | 90896b61fe26 |