--- a/tests/test-sparse.t Sat Jun 24 15:29:42 2017 -0700
+++ b/tests/test-sparse.t Sat Jul 08 14:10:10 2017 -0400
@@ -27,12 +27,24 @@
Absolute paths outside the repo should just be rejected
+#if no-windows
$ hg debugsparse --include /foo/bar
warning: paths cannot start with /, ignoring: ['/foo/bar']
$ hg debugsparse --include '$TESTTMP/myrepo/hide'
$ hg debugsparse --include '/root'
warning: paths cannot start with /, ignoring: ['/root']
+#else
+TODO: See if this can be made to fail the same way as on Unix
+ $ hg debugsparse --include /c/foo/bar
+ abort: c:/foo/bar not under root '$TESTTMP/myrepo' (glob)
+ [255]
+ $ hg debugsparse --include '$TESTTMP/myrepo/hide'
+
+ $ hg debugsparse --include '/c/root'
+ abort: c:/root not under root '$TESTTMP/myrepo' (glob)
+ [255]
+#endif
Verify commiting while sparse includes other files