test-subrepo: fix globs for Windows

It looks like these changes originated with 23b60798c736.  I'm not sure that it
was intentional, but is seems harmless enough for an error message.
This commit is contained in:
Matt Harbison 2015-07-20 22:48:42 -04:00
parent 9af3be2f3b
commit 3e67d17d81
2 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ Check that deep archiving works
$ hg remove sub1/.hgsubstate
$ mv sub1/.hgsub sub1/x.hgsub
$ hg status -S
warning: subrepo spec file 'sub1/.hgsub' not found (glob)
warning: subrepo spec file 'sub1/.hgsub' not found
R sub1/.hgsubstate
R sub1/sub2/folder/test.txt
! sub1/.hgsub

View File

@ -24,7 +24,7 @@ abort more gracefully on .hgsubstate parsing error
$ cp .hgsubstate .hgsubstate.old
>>> file('.hgsubstate', 'wb').write('\ninvalid')
$ hg st --subrepos --cwd $TESTTMP -R $TESTTMP/repo
abort: invalid subrepository revision specifier in 'repo/.hgsubstate' line 2 (glob)
abort: invalid subrepository revision specifier in 'repo/.hgsubstate' line 2
[255]
$ mv .hgsubstate.old .hgsubstate
@ -45,8 +45,8 @@ delete .hgsub and update
$ rm .hgsub
$ hg up 0 --cwd $TESTTMP -R $TESTTMP/repo
warning: subrepo spec file 'repo/.hgsub' not found (glob)
warning: subrepo spec file 'repo/.hgsub' not found (glob)
warning: subrepo spec file 'repo/.hgsub' not found
warning: subrepo spec file 'repo/.hgsub' not found
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg st
warning: subrepo spec file '.hgsub' not found