--- a/tests/test-mq-qfold Mon Feb 08 19:44:04 2010 +0100
+++ b/tests/test-mq-qfold Sun Feb 07 10:47:54 2010 -0500
@@ -12,6 +12,11 @@
-e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
}
+filterpatch()
+{
+ sed -e "s/\(# Parent \).*/\1/"
+}
+
echo '% init'
hg init repo
cd repo
@@ -43,7 +48,7 @@
hg qnew --git -f git
hg qpop
hg qfold git
-cat .hg/patches/regular
+cat .hg/patches/regular | filterpatch
hg qpop
hg qdel regular
@@ -54,7 +59,7 @@
hg qnew -f regular
hg qpop
hg qfold regular
-cat .hg/patches/git
+cat .hg/patches/git | filterpatch
cd ..