diff tests/test-mq @ 4890:bbdcacf7cef8

mq: autodetect an existing git patch during qrefresh (issue 491)
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 16 Jul 2007 16:50:47 -0700
parents cba10652a901
children 8535c1770dd3 48ebd6a83994
line wrap: on
line diff
--- a/tests/test-mq	Mon Jul 16 14:43:47 2007 -0700
+++ b/tests/test-mq	Mon Jul 16 16:50:47 2007 -0700
@@ -319,6 +319,8 @@
 hg qrefresh --git
 cat .hg/patches/bar
 hg log -vC --template '{rev} {file_copies%filecopy}\n' -r .
+hg qrefresh
+grep 'diff --git' .hg/patches/bar
 
 echo
 hg up -C 1