--- a/mercurial/scmutil.py Wed Oct 09 22:59:38 2019 +0200
+++ b/mercurial/scmutil.py Sun Oct 06 23:36:51 2019 -0400
@@ -2219,23 +2219,3 @@
mark,
mark,
)
-
-
-def computechangesetfilesadded(ctx):
- """return the list of files added in a changeset
- """
- added = []
- for f in ctx.files():
- if not any(f in p for p in ctx.parents()):
- added.append(f)
- return added
-
-
-def computechangesetfilesremoved(ctx):
- """return the list of files removed in a changeset
- """
- removed = []
- for f in ctx.files():
- if f not in ctx:
- removed.append(f)
- return removed