diff tests/test-mq @ 3700:4c158de5f245

qrefresh: fix handling of copies in the fast path
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 20 Nov 2006 19:32:43 -0200
parents 4bafcf7aeb32
children 8ee983e3d461
line wrap: on
line diff
--- a/tests/test-mq	Mon Nov 20 19:32:42 2006 -0200
+++ b/tests/test-mq	Mon Nov 20 19:32:43 2006 -0200
@@ -227,6 +227,9 @@
 hg qrefresh --git 2>&1 | grep -v 'saving bundle'
 cat .hg/patches/bar
 hg log -vC --template '{rev} {file_copies%filecopy}\n' -r .
+hg qrefresh --git
+cat .hg/patches/bar
+hg log -vC --template '{rev} {file_copies%filecopy}\n' -r .
 
 echo
 hg up -C 1
@@ -238,3 +241,8 @@
 hg qrefresh --git 2>&1 | grep -v 'saving bundle'
 cat .hg/patches/bar
 hg log -vC --template '{rev} {file_copies%filecopy}\n' -r .
+hg mv quux fred
+hg mv bleh barney
+hg qrefresh --git
+cat .hg/patches/bar
+hg log -vC --template '{rev} {file_copies%filecopy}\n' -r .