Skip to content

Draft: WIP: stack._revs -> revs, revs -> indexedrevs

Anton Shestakov requested to merge topic/default/stack-things-2 into branch/default

This demonstrates the stack interface that I'd like to see upstream. Most of the things here should be good to merge, but it's not clear what actually gets accepted into core hg yet, so this is WIP.

Not everything is decided, currently there is this:

  • cache revs and indexedrevs both or none
  • if we decide to cache revs, they need to be frozen so that nothing can re-.sort() them

And then there's:

  • decide about foo#stack[base] syntax (start from 1? use 0 or base for base? what should stack[:] include?)
Edited by Pierre-Yves David

Merge request reports