tests/test-mq-qsave
author Matt Mackall <mpm@selenic.com>
Tue, 07 Nov 2006 14:04:15 -0600
changeset 3619 8c4fd0de5de8
parent 2990 61fcd9fac434
permissions -rwxr-xr-x
Fix up parent display in logging For changesets with a first parent nullid, but not rev 0, we ought to display a null parent.

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH

hg init a
cd a

echo 'base' > base
hg ci -Ambase -d '1 0'

hg qnew -mmqbase mqbase

hg qsave
hg qrestore 2