tests/test-subrepo-missing.t
changeset 49825 2f2682f40ea0
parent 48510 7f633432ca92
equal deleted inserted replaced
49824:fdd227585d5a 49825:2f2682f40ea0
   109 
   109 
   110 verify will warn if locked-in subrepo revisions are hidden or missing
   110 verify will warn if locked-in subrepo revisions are hidden or missing
   111 
   111 
   112   $ hg ci -m "amended subrepo (again)"
   112   $ hg ci -m "amended subrepo (again)"
   113   $ hg --config extensions.strip= --hidden strip -R subrepo -qr 'tip' --config devel.strip-obsmarkers=no
   113   $ hg --config extensions.strip= --hidden strip -R subrepo -qr 'tip' --config devel.strip-obsmarkers=no
   114   $ hg verify
   114   $ hg verify -q
   115   checking changesets
       
   116   checking manifests
       
   117   crosschecking files in changesets and manifests
       
   118   checking files
       
   119   checked 5 changesets with 5 changes to 2 files
       
   120   checking subrepo links
       
   121   subrepo 'subrepo' is hidden in revision a66de08943b6
   115   subrepo 'subrepo' is hidden in revision a66de08943b6
   122   subrepo 'subrepo' is hidden in revision 674d05939c1e
   116   subrepo 'subrepo' is hidden in revision 674d05939c1e
   123   subrepo 'subrepo' not found in revision a7d05d9055a4
   117   subrepo 'subrepo' not found in revision a7d05d9055a4
   124 
   118 
   125 verifying shouldn't init a new subrepo if the reference doesn't exist
   119 verifying shouldn't init a new subrepo if the reference doesn't exist
   126 
   120 
   127   $ mv subrepo b
   121   $ mv subrepo b
   128   $ hg verify
   122   $ hg verify -q
   129   checking changesets
       
   130   checking manifests
       
   131   crosschecking files in changesets and manifests
       
   132   checking files
       
   133   checked 5 changesets with 5 changes to 2 files
       
   134   checking subrepo links
       
   135   0: repository $TESTTMP/repo/subrepo not found
   123   0: repository $TESTTMP/repo/subrepo not found
   136   1: repository $TESTTMP/repo/subrepo not found
   124   1: repository $TESTTMP/repo/subrepo not found
   137   3: repository $TESTTMP/repo/subrepo not found
   125   3: repository $TESTTMP/repo/subrepo not found
   138   4: repository $TESTTMP/repo/subrepo not found
   126   4: repository $TESTTMP/repo/subrepo not found
   139   $ ls -A
   127   $ ls -A