# HG changeset patch # User Martin von Zweigbergk # Date 1561756029 25200 # Node ID abd902a8504077e1ad30ae3d5dd180a1db9b8875 # Parent 2e1d9414ff71e1c5d63ffe9dec2a520d60eefbb7 automv: use public API for getting copies Differential Revision: https://phab.mercurial-scm.org/D6585 diff -r 2e1d9414ff71 -r abd902a85040 hgext/automv.py --- a/hgext/automv.py Sat May 18 15:44:23 2019 +0530 +++ b/hgext/automv.py Fri Jun 28 14:07:09 2019 -0700 @@ -84,7 +84,7 @@ added = stat[1] removed = stat[2] - copy = copies._forwardcopies(repo['.'], repo[None], matcher) + copy = copies.pathcopies(repo['.'], repo[None], matcher) # remove the copy files for which we already have copy info added = [f for f in added if f not in copy]