##// END OF EJS Templates
uncommit: use field names instead of field numbers on scmutil.status...
Augie Fackler -
r44042:d0310f21 default
parent child Browse files
Show More
@@ -157,7 +157,8 b' def uncommit(ui, repo, *pats, **opts):'
157
157
158 with repo.wlock(), repo.lock():
158 with repo.wlock(), repo.lock():
159
159
160 m, a, r, d = repo.status()[:4]
160 st = repo.status()
161 m, a, r, d = st.modified, st.added, st.removed, st.deleted
161 isdirtypath = any(set(m + a + r + d) & set(pats))
162 isdirtypath = any(set(m + a + r + d) & set(pats))
162 allowdirtywcopy = opts[
163 allowdirtywcopy = opts[
163 b'allow_dirty_working_copy'
164 b'allow_dirty_working_copy'
General Comments 0
You need to be logged in to leave comments. Login now