[PATCH 1 of 2 STABLE] test-remove: fix \ vs. / issues on Windows

Adrian Buehlmann adrian at cadifra.com
Wed Oct 24 04:57:36 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1351071511 -7200
# Branch stable
# Node ID 6d8253f8d895d7aebcc8d1e210af283c8b1a9238
# Parent  d38d90ad5bbf82266b508bf6bff2f77a5b8f0c9e
test-remove: fix \ vs. / issues on Windows

This part of the test failed with

     $ hg rm --after d1
  -  removing d1/a
  +  removing d1\a

on Windows.

diff --git a/tests/test-remove.t b/tests/test-remove.t
--- a/tests/test-remove.t
+++ b/tests/test-remove.t
@@ -275,7 +275,7 @@
   $ hg add d1/a
   $ rm d1/a
   $ hg rm --after d1
-  removing d1/a
+  removing d1/a (glob)
   $ hg rm --after nosuch
   nosuch: No such file or directory
   [1]


More information about the Mercurial-devel mailing list