tests/test-subrepo-git.t
changeset 13558 f854b775c386
parent 13525 c12088259f64
parent 13553 dea6efdd7ec4
child 13560 a2734c8322ac
equal deleted inserted replaced
13555:970150ddaaf8 13558:f854b775c386
   312   $ hg clone t d/t
   312   $ hg clone t d/t
   313   updating to branch default
   313   updating to branch default
   314   cloning subrepo s from $TESTTMP/gitroot
   314   cloning subrepo s from $TESTTMP/gitroot
   315   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   315   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   316 
   316 
       
   317 Don't crash if the subrepo is missing
       
   318 
       
   319   $ hg clone t missing -q
       
   320   $ cd missing
       
   321   $ rm -rf s
       
   322   $ hg status -S
       
   323   $ hg sum | grep commit
       
   324   commit: 1 subrepos
       
   325   $ hg push -q
       
   326   abort: subrepo s is missing
       
   327   [255]
       
   328   $ hg commit -qm missing
       
   329   abort: subrepo s is missing
       
   330   [255]
       
   331   $ hg update -C
       
   332   cloning subrepo s
       
   333   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   334   $ hg sum | grep commit
       
   335   commit: (clean)
       
   336 
   317 Check hg update --clean
   337 Check hg update --clean
   318   $ cd $TESTTMP/ta
   338   $ cd $TESTTMP/ta
   319   $ echo  > s/g
   339   $ echo  > s/g
   320   $ cd s
   340   $ cd s
   321   $ echo c1 > f1
   341   $ echo c1 > f1