tests/test-subrepo-git.t
branchstable
changeset 34984 071cbeba4212
parent 34661 eb586ed5d8ce
child 34985 5e27afeddaee
equal deleted inserted replaced
34983:80d7dbda9294 34984:071cbeba4212
   398 
   398 
   399 #if symlink
   399 #if symlink
   400 Don't crash if subrepo is a broken symlink
   400 Don't crash if subrepo is a broken symlink
   401   $ ln -s broken s
   401   $ ln -s broken s
   402   $ hg status -S
   402   $ hg status -S
       
   403   abort: subrepo 's' traverses symbolic link
       
   404   [255]
   403   $ hg push -q
   405   $ hg push -q
   404   abort: subrepo s is missing (in subrepository "s")
   406   abort: subrepo 's' traverses symbolic link
   405   [255]
   407   [255]
   406   $ hg commit --subrepos -qm missing
   408   $ hg commit --subrepos -qm missing
   407   abort: subrepo s is missing (in subrepository "s")
   409   abort: subrepo 's' traverses symbolic link
   408   [255]
   410   [255]
   409   $ rm s
   411   $ rm s
   410 #endif
   412 #endif
   411 
   413 
   412   $ hg update -C 2> /dev/null
   414   $ hg update -C 2> /dev/null