##// END OF EJS Templates
subrepo: handle missing subrepo spec file as removed...
subrepo: handle missing subrepo spec file as removed Otherwise, all commands involving a dirstate walk will abort when trying to readone of them. Deleting .hgsub basically breaks a repository.

File last commit:

r12346:3b165c12 default
r13017:d0e21c5f stable
Show More
test-requires.t
14 lines | 274 B | text/troff | Tads3Lexer
$ mkdir t
$ cd t
$ hg init
$ echo a > a
$ hg add a
$ hg commit -m test
$ rm .hg/requires
$ hg tip
abort: index 00changelog.i unknown format 2!
[255]
$ echo indoor-pool > .hg/requires
$ hg tip
abort: requirement 'indoor-pool' not supported!
[255]