view tests/test-mq-qsave @ 4861:74f36b1027f4

archive: use util.opener when archiving files. This simplifies the code a bit and makes it easier to support symlinks.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 11 Jul 2007 17:40:41 -0300
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