--- a/hgext/remotefilelog/historypack.py Mon Sep 24 14:46:37 2018 -0700
+++ b/hgext/remotefilelog/historypack.py Thu Jan 17 09:17:12 2019 -0800
@@ -259,10 +259,8 @@
return self._index[mid:mid + entrylen]
if node > midnode:
start = mid
- startnode = midnode
elif node < midnode:
end = mid
- endnode = midnode
return None
def markledger(self, ledger, options=None):
@@ -514,7 +512,6 @@
fileindexentries.append(rawentry)
- nodecountraw = ''
nodecountraw = struct.pack('!Q', nodecount)
return (''.join(fileindexentries) + nodecountraw +
''.join(nodeindexentries))