--- a/hgext/uncommit.py Thu Jul 18 12:03:29 2024 +0200
+++ b/hgext/uncommit.py Thu Jul 18 12:36:12 2024 +0200
@@ -154,7 +154,6 @@
cmdutil.resolve_commit_options(ui, opts)
with repo.wlock(), repo.lock():
-
st = repo.status()
m, a, r, d = st.modified, st.added, st.removed, st.deleted
isdirtypath = any(set(m + a + r + d) & set(pats))
@@ -264,7 +263,6 @@
unfi = repo.unfiltered()
with repo.wlock(), repo.lock(), repo.transaction(b'unamend'):
-
# identify the commit from which to unamend
curctx = repo[b'.']