tests/test-subrepo.t
branchstable
changeset 15321 e174353e8cda
parent 15265 460135339d74
child 15409 83c2e6772408
child 15615 41885892796e
--- a/tests/test-subrepo.t	Thu Oct 20 17:05:13 2011 -0400
+++ b/tests/test-subrepo.t	Fri Oct 21 00:33:08 2011 +0200
@@ -1,3 +1,8 @@
+Let commit recurse into subrepos by default to match pre-2.0 behavior:
+
+  $ echo "[ui]" >> $HGRCPATH
+  $ echo "commitsubrepos = Yes" >> $HGRCPATH
+
   $ rm -rf sub
   $ mkdir sub
   $ cd sub
@@ -107,6 +112,7 @@
   $ echo c > s/a
   $ hg --config ui.commitsubrepos=no ci -m4
   abort: uncommitted changes in subrepo s
+  (use --subrepos for recursive commit)
   [255]
   $ hg ci -m4
   committing subrepository s