remotefilelog: log when we're about to fetch files
I'm debugging a slow client situation and knowing how many files are
in the batch request would be a nice thing.
Differential Revision: https://phab.mercurial-scm.org/D6353
--- a/hgext/remotefilelog/fileserverclient.py Tue Apr 30 15:15:57 2019 +0900
+++ b/hgext/remotefilelog/fileserverclient.py Wed May 08 18:11:33 2019 -0400
@@ -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)