Mercurial > hg-stable
changeset 42550:abd902a85040
automv: use public API for getting copies
Differential Revision: https://phab.mercurial-scm.org/D6585
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 28 Jun 2019 14:07:09 -0700 |
parents | 2e1d9414ff71 |
children | 2702dfc7e029 |
files | hgext/automv.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]