Patchwork D7123: copies: use an unfiltered repository for the changeset centric algorithm

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2019, 9:50 p.m.
Message ID <7664c5e5828d3f8f75f54f14383cf2de@localhost.localdomain>
Download mbox | patch
Permalink /patch/42440/
State Not Applicable
Headers show

Comments

phabricator - Oct. 16, 2019, 9:50 p.m.
marmoute updated this revision to Diff 17274.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7123?vs=17250&id=17274

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

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

AFFECTED FILES
  mercurial/copies.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/copies.py b/mercurial/copies.py
--- a/mercurial/copies.py
+++ b/mercurial/copies.py
@@ -204,7 +204,7 @@ 
     if a.rev() in (node.nullrev, b.rev()):
         return {}
 
-    repo = a.repo()
+    repo = a.repo().unfiltered()
     children = {}
     revinfo = _revinfogetter(repo)