tests: drop extra "file:" prefix from paths in narrow test
It looks like these were added by mistake in
f4d4bd8c8911 (narrow: add
a --narrowspec flag to clone command, 2018-08-08).
Differential Revision: https://phab.mercurial-scm.org/D4531
--- a/tests/test-narrow-clone-no-ellipsis.t Tue Sep 11 11:47:10 2018 -0700
+++ b/tests/test-narrow-clone-no-ellipsis.t Tue Sep 11 16:04:55 2018 -0700
@@ -130,7 +130,7 @@
> %include foo
> [include]
> path:dir/tests/
- > path:file:dir/src/f12
+ > path:dir/src/f12
> EOF
$ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs
@@ -141,7 +141,7 @@
$ cat > narrowspecs <<EOF
> [include]
> path:dir/tests/
- > path:file:dir/src/f12
+ > path:dir/src/f12
> EOF
$ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs
@@ -150,12 +150,12 @@
adding changesets
adding manifests
adding file changes
- added 40 changesets with 20 changes to 20 files
+ added 40 changesets with 21 changes to 21 files
new changesets 681085829a73:26ce255d5b5d
updating to branch default
- 20 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ 21 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd specfile
$ hg tracked
+ I path:dir/src/f12
I path:dir/tests
- I path:file:dir/src/f12
$ cd ..
--- a/tests/test-narrow-clone.t Tue Sep 11 11:47:10 2018 -0700
+++ b/tests/test-narrow-clone.t Tue Sep 11 16:04:55 2018 -0700
@@ -239,7 +239,7 @@
> %include foo
> [include]
> path:dir/tests/
- > path:file:dir/src/f12
+ > path:dir/src/f12
> EOF
$ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs
@@ -250,7 +250,7 @@
$ cat > narrowspecs <<EOF
> [include]
> path:dir/tests/
- > path:file:dir/src/f12
+ > path:dir/src/f12
> EOF
$ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs
@@ -259,14 +259,14 @@
adding changesets
adding manifests
adding file changes
- added 21 changesets with 20 changes to 20 files
- new changesets f93383bb3e99:26ce255d5b5d
+ added 23 changesets with 21 changes to 21 files
+ new changesets c13e3773edb4:26ce255d5b5d
updating to branch default
- 20 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ 21 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd specfile
$ hg tracked
+ I path:dir/src/f12
I path:dir/tests
- I path:file:dir/src/f12
$ cd ..
Narrow spec with invalid patterns is rejected