Submitter | phabricator |
---|---|
Date | Nov. 14, 2019, 9:09 p.m. |
Message ID | <differential-rev-PHID-DREV-eaejts73frktjzbxvph2-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/43196/ |
State | Superseded |
Headers | show |
Comments
This revision is now accepted and ready to land. indygreg added a comment. indygreg accepted this revision. I weep every time I see single letter variables. But it isn't your fault. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7395/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7395 To: durin42, #hg-reviewers, indygreg Cc: indygreg, mercurial-devel
Patch
diff --git a/hgext/uncommit.py b/hgext/uncommit.py --- a/hgext/uncommit.py +++ b/hgext/uncommit.py @@ -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'