view tests/test-mq-qsave @ 10796:ce2ae8bf3ae3 stable

Add missing --mq option to hg log. Since norepo is a string, not a list, the norepo check was matching command names against any substring in norepo. This fix splits norepo into a list of commands.
author Michael Glassford <glassfordmjg@gmail.com>
date Wed, 31 Mar 2010 10:59:00 -0400
parents 61fcd9fac434
children
line wrap: on
line source

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