# HG changeset patch # User Augie Fackler # Date 1557353493 14400 # Node ID 65f3a77223e0879cce326fd33d1db5bebdfff79a # Parent 6bc1245cd5989106b4784cdf4e089b5e6ae5001f 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 diff -r 6bc1245cd598 -r 65f3a77223e0 hgext/remotefilelog/fileserverclient.py --- 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)