Patchwork D6585: automv: use public API for getting copies

login
register
mail settings
Submitter phabricator
Date June 28, 2019, 9:11 p.m.
Message ID <differential-rev-PHID-DREV-xo3qoxtctce64ne5sru3-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/40721/
State Superseded
Headers show

Comments

phabricator - June 28, 2019, 9:11 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6585

AFFECTED FILES
  hgext/automv.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/automv.py b/hgext/automv.py
--- a/hgext/automv.py
+++ b/hgext/automv.py
@@ -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]