mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
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:
parent
9af3be2f3b
commit
3e67d17d81
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user