tests/test-subrepo-missing.t
branchstable
changeset 24877 cc497780eaf9
parent 24645 b39afa36006a
child 25591 f1d46075b13a
--- a/tests/test-subrepo-missing.t	Mon Apr 27 21:34:23 2015 -0400
+++ b/tests/test-subrepo-missing.t	Tue Feb 03 15:01:43 2015 -0500
@@ -96,4 +96,14 @@
   revision 102a90ea7b4a in subrepo subrepo is hidden
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
+check that --hidden is propagated to the subrepo
+
+  $ hg -R subrepo up tip
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg ci -m 'commit with amended subrepo'
+  $ echo bar > subrepo/a
+  $ hg -R subrepo ci --amend -m "amend a (again)"
+  $ hg --hidden cat subrepo/a
+  foo
+
   $ cd ..