diff tests/test-subrepo-git.t @ 13027:7f2ecb64140d

subrepo: archive git subrepos
author Eric Eisner <ede@mit.edu>
date Thu, 18 Nov 2010 19:20:21 -0500
parents 6bdae8ea0b48
children f930032aa6d5
line wrap: on
line diff
--- a/tests/test-subrepo-git.t	Sun Nov 21 11:52:27 2010 +0100
+++ b/tests/test-subrepo-git.t	Thu Nov 18 19:20:21 2010 -0500
@@ -193,3 +193,17 @@
   ..
   .git
   g
+
+archive subrepos
+
+  $ cd ../t
+  $ hg archive --subrepos -r tip ../archive
+  pulling subrepo s
+  $ cd ../archive
+  $ cat s/f
+  f
+  $ cat s/g
+  g
+  gg
+  ggg
+