changeset 43643 | d0310f21ee9e |
parent 43523 | c21aca51b392 |
child 44452 | 9d2b2df2c2ba |
--- a/hgext/uncommit.py Thu Nov 14 15:25:57 2019 -0500 +++ b/hgext/uncommit.py Thu Nov 14 15:26:05 2019 -0500 @@ -157,7 +157,8 @@ with repo.wlock(), repo.lock(): - m, a, r, d = repo.status()[:4] + st = repo.status() + m, a, r, d = st.modified, st.added, st.removed, st.deleted isdirtypath = any(set(m + a + r + d) & set(pats)) allowdirtywcopy = opts[ b'allow_dirty_working_copy'