#!/bin/sh echo "% setup" # create a little extension that has 3 side-effects: # 1) ensure changelog data is not inlined # 2) make revlog to use lazyparser # 3) test that repo.lookup() works # 1 and 2 are preconditions for the bug; 3 is the bug. cat > commitwrapper.py <> $HGRCPATH < a hg commit -A -m'add a with a long commit message to make the changelog a bit bigger' echo "" echo "% test that new changesets are visible to repo.lookup()" echo a >> a hg commit -m'one more commit to demonstrate the bug' hg tip