diff tests/test-archive.t @ 16919:51932c835b74 stable

archive: make progress only show files that are actually archived Before this, files that are excluded (or not included) were shown when using progress bar or --debug. Reported by Andrew Shadura.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 12 Jun 2012 12:05:52 +0200
parents 4f795f5fbb0b
children 4dd036977463
line wrap: on
line diff
--- a/tests/test-archive.t	Wed Jun 06 21:17:20 2012 -0500
+++ b/tests/test-archive.t	Tue Jun 12 12:05:52 2012 +0200
@@ -102,7 +102,10 @@
   test/baz/bletch
   test/foo
 
-  $ hg archive -t tbz2 -X baz test.tar.bz2
+  $ hg archive --debug -t tbz2 -X baz test.tar.bz2
+  archiving: 0/2 files (0.00%)
+  archiving: bar 1/2 files (50.00%)
+  archiving: foo 2/2 files (100.00%)
   $ bunzip2 -dc test.tar.bz2 | tar tf - 2>/dev/null
   test/.hg_archival.txt
   test/bar