Patchwork D6353: remotefilelog: log when we're about to fetch files

login
register
mail settings
Submitter phabricator
Date May 9, 2019, 10:07 a.m.
Message ID <e93eb75d8731aa3307e60682eb773c7b@localhost.localdomain>
Download mbox | patch
Permalink /patch/39989/
State Not Applicable
Headers show

Comments

phabricator - May 9, 2019, 10:07 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG65f3a77223e0: remotefilelog: log when we&#039;re about to fetch files (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6353?vs=15041&id=15043

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

AFFECTED FILES
  hgext/remotefilelog/fileserverclient.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/remotefilelog/fileserverclient.py b/hgext/remotefilelog/fileserverclient.py
--- a/hgext/remotefilelog/fileserverclient.py
+++ b/hgext/remotefilelog/fileserverclient.py
@@ -396,6 +396,9 @@ 
                                 batchdefault = 10
                             batchsize = self.ui.configint(
                                 'remotefilelog', 'batchsize', batchdefault)
+                            self.ui.debug(
+                                b'requesting %d files from '
+                                b'remotefilelog server...\n' % len(missed))
                             _getfilesbatch(
                                 remote, self.receivemissing, progress.increment,
                                 missed, idmap, batchsize)