#!/bin/sh source "$TESTDIR/bzr-definitions" cat > ghostcreator.py < somefile bzr add -q somefile bzr commit -q -m 'Initial layout setup' echo morecontent >> somefile python ../../ghostcreator.py 'Commit with ghost revision' ghostrev cd .. hg convert source source-hg glog -R source-hg