mercurial/scmutil.py
changeset 43147 54e943b28101
parent 43106 d783f945a701
child 43365 899e55e2d375
--- 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