Commit d6fa7524 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

evolve: save cache in debugstablesortcache()

If this cache was rebuilt in this command (like in test-cache-corruption.t), it
used to exist only in memory and then discarded. That's wasteful, so let's save
the cache instead. Debug commands for other caches already do this.
parent 5435777c307c
Pipeline #20553 passed with stage
in 5 minutes and 10 seconds
......@@ -340,6 +340,7 @@
merge = unfi.revs('merge()')
nbmerge = len(merge)
cache = unfi.stablesort
cache.save(repo)
ui.write(b'number of merge: %12d\n' % nbmerge)
alljumps = []
alljumpssize = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment