Show More
@@ -152,7 +152,9 b' def dosplit(ui, repo, tr, ctx, opts):' | |||||
152 | scmutil.movedirstate(repo, ctx.p1()) |
|
152 | scmutil.movedirstate(repo, ctx.p1()) | |
153 |
|
153 | |||
154 | # Any modified, added, removed, deleted result means split is incomplete |
|
154 | # Any modified, added, removed, deleted result means split is incomplete | |
155 | incomplete = lambda repo: any(repo.status()[:4]) |
|
155 | def incomplete(repo): | |
|
156 | st = repo.status() | |||
|
157 | return any((st.modified, st.added, st.removed, st.deleted)) | |||
156 |
|
158 | |||
157 | # Main split loop |
|
159 | # Main split loop | |
158 | while incomplete(repo): |
|
160 | while incomplete(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now