tests/test-mq-qsave
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 10 Oct 2006 18:43:20 -0300
changeset 3348 e4aa22eaa0e4
parent 2990 61fcd9fac434
permissions -rwxr-xr-x
call ui.updateopts only after changing directories This corrects --config paths.foo=bar when it's used with --cwd

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