Patchwork D6542: remotefilelog: handle copies in changesets in getrenamedfn() override

login
register
mail settings
Submitter phabricator
Date June 19, 2019, 9:55 p.m.
Message ID <6c37cfa8d28a257786540566d6b920f1@localhost.localdomain>
Download mbox | patch
Permalink /patch/40611/
State Not Applicable
Headers show

Comments

phabricator - June 19, 2019, 9:55 p.m.
Closed by commit rHGe387cb22f6c0: remotefilelog: handle copies in changesets in getrenamedfn() override (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/D6542?vs=15592&id=15604

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

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

AFFECTED FILES
  hgext/remotefilelog/__init__.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -636,7 +636,7 @@ 
     extensions.wrapfunction(changelog.changelog, 'add', changelogadd)
 
 def getrenamedfn(orig, repo, endrev=None):
-    if not isenabled(repo):
+    if not isenabled(repo) or copies.usechangesetcentricalgo(repo):
         return orig(repo, endrev)
 
     rcache = {}