diff tests/test-subrepo-deep-nested-change.t @ 23540:f274d27f1994

addremove: automatically process a subrepository's subrepos Since addremove on the top of a directory tree will recursively handle sub directories, it should be the same with deep subrepos, once the user has explicitly asked to process a subrepo. This really only has an effect when a path that is a subrepo (or is in a subrepo) is given, since -S causes all subrepos to be processed already. An addremove without a path that crosses into a subrepo, will still not enter any subrepos, per backward compatibility rules.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 30 Nov 2014 22:47:53 -0500
parents cb42050f2dad
children 164915e8ef7b
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t	Sun Nov 09 23:46:25 2014 -0500
+++ b/tests/test-subrepo-deep-nested-change.t	Sun Nov 30 22:47:53 2014 -0500
@@ -155,6 +155,10 @@
   ? foo/bar/abc
   ? sub1/foo
   $ hg update -Cq
+  $ hg addremove sub1
+  adding sub1/sub2/folder/bar (glob)
+  adding sub1/foo (glob)
+  $ hg update -Cq
   $ rm sub1/sub2/folder/test.txt
   $ rm sub1/sub2/test.txt
   $ hg ci -ASm "remove test.txt"