tests/test-mq-qnew-twice
author Brendan Cully <brendan@kublai.com>
Sat, 12 Aug 2006 13:51:14 -0700
changeset 2868 81f351c5264d
parent 2713 85070b784896
child 2976 61fcd9fac434
permissions -rwxr-xr-x
grep: display correct user/revision for --all in reverse. Also handle multiple occurrences of the same line by storing linestates in an array instead of a dict, and using difflib to compute the difference between linestates.

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