changeset 43641 | 705738def50c |
parent 43117 | 8ff1ecfadcd1 |
child 43935 | 2349a60f33db |
--- a/hgext/split.py Thu Nov 14 15:25:40 2019 -0500 +++ b/hgext/split.py Thu Nov 14 15:25:48 2019 -0500 @@ -152,7 +152,9 @@ scmutil.movedirstate(repo, ctx.p1()) # Any modified, added, removed, deleted result means split is incomplete - incomplete = lambda repo: any(repo.status()[:4]) + def incomplete(repo): + st = repo.status() + return any((st.modified, st.added, st.removed, st.deleted)) # Main split loop while incomplete(repo):