comparison tests/test-subrepo-deep-nested-change.t @ 23325:4165cfd67519

remove: recurse into subrepositories with --subrepos/-S flag Like 'forget', git and svn subrepos are currently not supported. Unfortunately the name 'remove' is already used in the subrepo classes, so we break the convention of naming the subrepo function after the command.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 15 Nov 2014 21:36:19 -0500
parents 2944a6d35158
children f6b8d23492e5
comparison
equal deleted inserted replaced
23324:69f86b937035 23325:4165cfd67519
108 $ echo 'subfolder' > sub1/sub2/folder/test.txt 108 $ echo 'subfolder' > sub1/sub2/folder/test.txt
109 $ hg --config extensions.largefiles=! add sub1/sub2/folder/test.txt 109 $ hg --config extensions.largefiles=! add sub1/sub2/folder/test.txt
110 $ hg ci -Sm "add test.txt" 110 $ hg ci -Sm "add test.txt"
111 committing subrepository sub1 111 committing subrepository sub1
112 committing subrepository sub1/sub2 (glob) 112 committing subrepository sub1/sub2 (glob)
113
114 .. but first take a detour through some deep removal testing
115
116 $ hg remove -S -I 're:.*.txt' sub1
117 removing sub1/sub2/folder/test.txt (glob)
118 removing sub1/sub2/test.txt (glob)
119 $ hg status -S
120 R sub1/sub2/folder/test.txt
121 R sub1/sub2/test.txt
122 $ hg update -Cq
123
113 $ hg --config extensions.largefiles=! archive -S ../archive_all 124 $ hg --config extensions.largefiles=! archive -S ../archive_all
114 $ find ../archive_all | sort 125 $ find ../archive_all | sort
115 ../archive_all 126 ../archive_all
116 ../archive_all/.hg_archival.txt 127 ../archive_all/.hg_archival.txt
117 ../archive_all/.hgsub 128 ../archive_all/.hgsub