Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t Sat Nov 15 13:50:43 2014 +0900 +++ b/tests/test-subrepo-deep-nested-change.t Sat Nov 15 21:36:19 2014 -0500 @@ -110,6 +110,17 @@ $ hg ci -Sm "add test.txt" committing subrepository sub1 committing subrepository sub1/sub2 (glob) + +.. but first take a detour through some deep removal testing + + $ hg remove -S -I 're:.*.txt' sub1 + removing sub1/sub2/folder/test.txt (glob) + removing sub1/sub2/test.txt (glob) + $ hg status -S + R sub1/sub2/folder/test.txt + R sub1/sub2/test.txt + $ hg update -Cq + $ hg --config extensions.largefiles=! archive -S ../archive_all $ find ../archive_all | sort ../archive_all