D6542: remotefilelog: handle copies in changesets in getrenamedfn() override
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Jun 19 17:55:38 EDT 2019
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
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 = {}
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list