chiark / gitweb /
Check bottom and invariants
authorDavid Kågedal <davidk@lysator.liu.se>
Wed, 19 Dec 2007 18:00:10 +0000 (18:00 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 19 Dec 2007 23:13:29 +0000 (23:13 +0000)
commit0e1c86f9ff8a81055a45c807cf1218d3ff28d986
tree42b794ec0a8ceca95fc9ad7e5131a9899b8750af
parent64c097a03aa2494c0d7b6c24eceb05d28dc3b02f
Check bottom and invariants

This code adds some checks that the bottom is actually always the
parent of top.

It also checks that the top is the same as what the patch ref points
to.

This is only to ensure that the next patches are correct.

Signed-off-by: David Kågedal <davidk@lysator.liu.se>
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/stack.py