Patchwork D7966: remotefilelog: only prefetch history in linkrevfixup

login
register
mail settings
Submitter phabricator
Date Feb. 10, 2020, 11:29 p.m.
Message ID <d86066582877366dc6fa732dd0379279@localhost.localdomain>
Download mbox | patch
Permalink /patch/45099/
State Not Applicable
Headers show

Comments

phabricator - Feb. 10, 2020, 11:29 p.m.
Closed by commit rHG6f1e6e8ed85a: remotefilelog: only prefetch history in linkrevfixup (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Revision".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7966?vs=19500&id=20076

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

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

AFFECTED FILES
  hgext/remotefilelog/remotefilectx.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, marmoute, durin42
Cc: durin42, marmoute, mercurial-devel

Patch

diff --git a/hgext/remotefilelog/remotefilectx.py b/hgext/remotefilelog/remotefilectx.py
--- a/hgext/remotefilelog/remotefilectx.py
+++ b/hgext/remotefilelog/remotefilectx.py
@@ -325,7 +325,9 @@ 
         logmsg = b''
         start = time.time()
         try:
-            repo.fileservice.prefetch([(path, hex(fnode))], force=True)
+            repo.fileservice.prefetch(
+                [(path, hex(fnode))], force=True, fetchdata=False
+            )
 
             # Now that we've downloaded a new blob from the server,
             # we need to rebuild the ancestor map to recompute the