Skip to content
Snippets Groups Projects
Commit a48a7c2d authored by Matt Harbison's avatar Matt Harbison
Browse files

test-subrepo: fix globs for Windows

It looks like these changes originated with 2538b87660be.  I'm not sure that it
was intentional, but is seems harmless enough for an error message.
parent 84074e4f
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@
$ 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 @@
$ 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 @@
$ 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment