changeset 47796:6802422a1ae0 stable

remotefilelog: fix what looks like a wrong refactoring when various store functions started returning a revlog type as the first element of the tuple. Differential Revision: https://phab.mercurial-scm.org/D11243
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Mon, 02 Aug 2021 08:06:27 -0400
parents 3fffb48539ee
children 42e2cdb50db0
files hgext/remotefilelog/remotefilelogserver.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotefilelog/remotefilelogserver.py	Sun Aug 01 14:39:38 2021 +0200
+++ b/hgext/remotefilelog/remotefilelogserver.py	Mon Aug 02 08:06:27 2021 -0400
@@ -186,7 +186,7 @@
                         yield (t, u, e, s)
 
             for x in repo.store.topfiles():
-                if state.noflatmf and x[0][:11] == b'00manifest.':
+                if state.noflatmf and x[1][:11] == b'00manifest.':
                     continue
                 yield x