[PATCH 4 of 4] test-fileset: forget non-portable files to avoid failures on Windows

Matt Harbison mharbison72 at gmail.com
Sat Mar 21 01:11:04 CDT 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1426915457 14400
#      Sat Mar 21 01:24:17 2015 -0400
# Node ID 07130589cddcc9d9a175b9efbce40d4f38de4252
# Parent  75ed9687553578e1253baf6b357cbe90076969a7
test-fileset: forget non-portable files to avoid failures on Windows

The 3 deleted lines appeared on Windows, because the files were never created in
the first place.

diff --git a/tests/test-fileset.t b/tests/test-fileset.t
--- a/tests/test-fileset.t
+++ b/tests/test-fileset.t
@@ -247,6 +247,9 @@
   bar 
   baz\
   con.xml
+  $ hg forget 'bar '
+  $ hg forget 'baz\'
+  $ hg forget 'con.xml'
 #endif
 
   $ fileset -r4 'subrepo("re:su.*")'
@@ -271,10 +274,7 @@
   a1
   b1
   b2
-  bar 
-  baz\
   c1
-  con.xml
   mixed
   $ fileset 'eol(mac)'
   mac


More information about the Mercurial-devel mailing list