view tests/test-mq-qnew-twice @ 2746:0503eb5c0a33

Add option -e/--edit to qrefresh, to edit the existing header.
author Brendan Cully <brendan@kublai.com>
date Mon, 31 Jul 2006 17:55:43 -0700
parents 85070b784896
children 61fcd9fac434
line wrap: on
line source

#!/bin/sh

HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
echo "[extensions]" >> $HGTMP/.hgrc
echo "mq=" >> $HGTMP/.hgrc

hg init a
cd a
hg qnew first.patch
hg qnew first.patch

touch ../first.patch
hg qimport ../first.patch

exit 0