automv: use public API for getting copies
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 28 Jun 2019 14:07:09 -0700
changeset 42543 abd902a85040
parent 42542 2e1d9414ff71
child 42544 2702dfc7e029
automv: use public API for getting copies Differential Revision: https://phab.mercurial-scm.org/D6585
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]