view tests/test-mq-qnew-twice @ 2712:35caf437a201

mq: fix queue.apply to not call os.chdir() call to os.chdir broke "hg -R dirname qpush". instead pass -d (change directory) option to patch command.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 27 Jul 2006 18:24:59 -0700
parents ca97be5babf8
children 85070b784896
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