diff options
Diffstat (limited to 'tests/test-subrepo-missing.t')
-rw-r--r-- | tests/test-subrepo-missing.t | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/tests/test-subrepo-missing.t b/tests/test-subrepo-missing.t index fb6bca9..323efe8 100644 --- a/tests/test-subrepo-missing.t +++ b/tests/test-subrepo-missing.t @@ -7,26 +7,12 @@ $ echo 'subrepo = subrepo' > .hgsub $ hg ci -Am addsubrepo adding .hgsub + committing subrepository subrepo $ echo b > subrepo/b $ hg -R subrepo ci -Am addb adding b $ hg ci -m updatedsub - -ignore blanklines in .hgsubstate - - >>> file('.hgsubstate', 'wb').write('\n\n \t \n \n') - $ hg st --subrepos - M .hgsubstate - $ hg revert -qC .hgsubstate - -abort more gracefully on .hgsubstate parsing error - - $ cp .hgsubstate .hgsubstate.old - >>> file('.hgsubstate', 'wb').write('\ninvalid') - $ hg st --subrepos - abort: invalid subrepository revision specifier in .hgsubstate line 2 - [255] - $ mv .hgsubstate.old .hgsubstate + committing subrepository subrepo delete .hgsub and revert it @@ -67,5 +53,3 @@ delete .hgsubstate and update $ hg st $ ls subrepo a - - $ cd .. |