tests/test-mq-qsave
author Cédric Duval <cedricduval@free.fr>
Sat, 30 May 2009 19:18:29 +0200
changeset 8653 aa011d123f71
parent 2990 61fcd9fac434
permissions -rwxr-xr-x
mq: initializing patchheader class directly from patch content The patch header needs only be read in order to instantiate the class, and as such it makes more sense to do it within the class.

#!/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