diff tests/test-subrepo-deep-nested-change.t @ 23326:f6b8d23492e5

remove: support remove with explicit paths in subrepos
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 12 Nov 2014 23:15:20 -0500
parents 4165cfd67519
children bd296bb4b5c8
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t	Sat Nov 15 21:36:19 2014 -0500
+++ b/tests/test-subrepo-deep-nested-change.t	Wed Nov 12 23:15:20 2014 -0500
@@ -120,6 +120,14 @@
   R sub1/sub2/folder/test.txt
   R sub1/sub2/test.txt
   $ hg update -Cq
+  $ hg remove -I 're:.*.txt' sub1
+  $ hg status -S
+  $ hg remove sub1/sub2/folder/test.txt
+  $ hg remove sub1/.hgsubstate
+  $ hg status -S
+  R sub1/.hgsubstate
+  R sub1/sub2/folder/test.txt
+  $ hg update -Cq
 
   $ hg --config extensions.largefiles=! archive -S ../archive_all
   $ find ../archive_all | sort