tests/test-mq-qsave
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Wed, 12 Nov 2008 14:07:47 +0100
changeset 7353 982b55ec80be
parent 2990 61fcd9fac434
permissions -rwxr-xr-x
patchbomb: make `hg email` reusable for other patch sources Adds two internal options, patches and patchnames, which allow other extensions to email a given set of patches. The pbranch extension needs this to send its patches which are diffs between topic branches.

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