tests: add test for fileset 'subrepo' keyword
authorAngel Ezquerra <angel.ezquerra@gmail.com>
Tue, 17 Apr 2012 07:22:44 +0200
changeset 16454 92c7e917b647
parent 16453 d2a865d4b963
child 16455 154219f3a6a4
tests: add test for fileset 'subrepo' keyword
tests/test-subrepo.t
--- a/tests/test-subrepo.t	Tue Apr 17 10:33:47 2012 +0200
+++ b/tests/test-subrepo.t	Tue Apr 17 07:22:44 2012 +0200
@@ -38,10 +38,10 @@
   update: (current)
   $ hg ci -m1
 
-Revert subrepo:
+Revert subrepo and test subrepo fileset keyword:
 
   $ echo b > s/a
-  $ hg revert s
+  $ hg revert "set:subrepo('glob:s*')"
   reverting subrepo s
   reverting s/a
   $ rm s/a.orig