tests/test-mq-qsave
author Matt Mackall <mpm@selenic.com>
Tue, 17 Oct 2006 18:31:18 -0500
changeset 3432 028fff46a4ac
parent 2976 61fcd9fac434
permissions -rwxr-xr-x
Add branchtags function with cache - cache stores tipmost node and rev and node,label pairs - if cache is out of date, scan new changesets - write new cache out after scan

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