Mercurial > hg
diff tests/test-narrow-clone-no-ellipsis.t @ 39541:8301741e1f89
narrow: validate spec files are well-formed during clone (BC)
Previously, specfiles would get read then normalized. We want
specfiles to be normalized on read so there is no confusion about
what the format of specfiles should be.
This commit validates the parsed result of --specfile. If entries
aren't prefixed, an error is raised.
Previously, validation would occur at exchange time, hence why we
dropped a line of test output related to server iteraction.
Differential Revision: https://phab.mercurial-scm.org/D4526
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 11 Sep 2018 11:47:10 -0700 |
parents | f4d4bd8c8911 |
children | 0a5f7e16ec96 |
line wrap: on
line diff
--- a/tests/test-narrow-clone-no-ellipsis.t Tue Sep 11 10:59:21 2018 -0700 +++ b/tests/test-narrow-clone-no-ellipsis.t Tue Sep 11 11:47:10 2018 -0700 @@ -130,7 +130,7 @@ > %include foo > [include] > path:dir/tests/ - > file:dir/src/f12 + > path:file:dir/src/f12 > EOF $ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs @@ -141,7 +141,7 @@ $ cat > narrowspecs <<EOF > [include] > path:dir/tests/ - > file:dir/src/f12 + > path:file:dir/src/f12 > EOF $ hg clone ssh://user@dummy/master specfile --narrowspec narrowspecs