remotefilelog: fix what looks like a wrong refactoring stable
authorValentin Gatien-Baron <valentin.gatienbaron@gmail.com>
Mon, 02 Aug 2021 08:06:27 -0400
branchstable
changeset 47800 6802422a1ae0
parent 47799 3fffb48539ee
child 47801 42e2cdb50db0
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
hgext/remotefilelog/remotefilelogserver.py
--- 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