D6585: automv: use public API for getting copies

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sat Jun 29 19:04:02 EDT 2019


Closed by commit rHG1caadb8e3d2c: automv: use public API for getting copies (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6585?vs=15703&id=15709

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6585/new/

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

AFFECTED FILES
  hgext/automv.py

CHANGE DETAILS

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]
 



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


More information about the Mercurial-devel mailing list