tests/test-largefiles.t
changeset 16578 43fb170a23bd
parent 16541 bb3334806ace
child 16580 80da0352a037
equal deleted inserted replaced
16576:eab32ab5cd65 16578:43fb170a23bd
  1094   update: (current)
  1094   update: (current)
  1095   $ hg ci -m "this commit should fail without -S"
  1095   $ hg ci -m "this commit should fail without -S"
  1096   abort: uncommitted changes in subrepo subrepo
  1096   abort: uncommitted changes in subrepo subrepo
  1097   (use --subrepos for recursive commit)
  1097   (use --subrepos for recursive commit)
  1098   [255]
  1098   [255]
  1099   $ cd ..
  1099 
       
  1100 # Add a normal file to the subrepo, then test archiving
       
  1101   $ echo 'normal file' > subrepo/normal.txt
       
  1102   $ hg -R subrepo add subrepo/normal.txt
       
  1103 # Lock in subrepo, otherwise the change isn't archived
       
  1104   $ hg ci -S -m "add normal file to top level"
       
  1105   committing subrepository subrepo
       
  1106   Invoking status precommit hook
       
  1107   M large.txt
       
  1108   A normal.txt
       
  1109   Invoking status precommit hook
       
  1110   M .hgsubstate
       
  1111   $ hg archive -S lf_subrepo_archive
       
  1112   $ find lf_subrepo_archive -print
       
  1113   lf_subrepo_archive
       
  1114   lf_subrepo_archive/.hg_archival.txt
       
  1115   lf_subrepo_archive/.hgsubstate
       
  1116   lf_subrepo_archive/subrepo
       
  1117   lf_subrepo_archive/subrepo/large.txt
       
  1118   lf_subrepo_archive/subrepo/normal.txt
       
  1119   lf_subrepo_archive/a
       
  1120   lf_subrepo_archive/a/b
       
  1121   lf_subrepo_archive/a/b/c
       
  1122   lf_subrepo_archive/a/b/c/d
       
  1123   lf_subrepo_archive/a/b/c/d/e.normal.txt
       
  1124   lf_subrepo_archive/a/b/c/d/e.large.txt
       
  1125   lf_subrepo_archive/a/b/c/x
       
  1126   lf_subrepo_archive/a/b/c/x/y.normal.txt
       
  1127   lf_subrepo_archive/.hgsub
       
  1128 
       
  1129   $ cd ..