tests/test-subrepo.t
changeset 15231 cd6f10dccf16
parent 14536 52cbeb5a651b
child 15265 460135339d74
--- a/tests/test-subrepo.t	Tue Oct 11 21:10:03 2011 -0400
+++ b/tests/test-subrepo.t	Tue Oct 11 18:18:15 2011 -0700
@@ -52,6 +52,14 @@
   commit: (clean)
   update: (current)
 
+commands that require a clean repo should respect subrepos
+
+  $ echo b >> s/a
+  $ hg backout tip
+  abort: uncommitted changes in subrepo s
+  [255]
+  $ hg revert -C -R s s/a
+
 add sub sub
 
   $ echo ss = ss > s/.hgsub