test-subrepo: test for Issue3153 stable
authorMartin Geisler <mg@lazybytes.net>
Thu, 15 Dec 2011 16:18:10 +0100
branchstable
changeset 15635 82f5e471792d
parent 15634 cfc15cbecc5e
child 15636 4841035f37b6
child 15637 7f01ad702405
test-subrepo: test for Issue3153
tests/test-subrepo.t
--- a/tests/test-subrepo.t	Wed Dec 14 12:28:00 2011 -0200
+++ b/tests/test-subrepo.t	Thu Dec 15 16:18:10 2011 +0100
@@ -885,3 +885,18 @@
   rm2
   
   
+Test issue3153: diff -S with deleted subrepos
+
+  $ hg diff --nodates -S -c .
+  diff -r 3941e0aa5236 -r 8b31de9d13d1 .hgsub
+  --- a/.hgsub
+  +++ /dev/null
+  @@ -1,2 +0,0 @@
+  -s = s
+  -t = t
+  diff -r 3941e0aa5236 -r 8b31de9d13d1 .hgsubstate
+  --- a/.hgsubstate
+  +++ /dev/null
+  @@ -1,2 +0,0 @@
+  -fc627a69481fcbe5f1135069e8a3881c023e4cf5 s
+  -e95bcfa18a358dc4936da981ebf4147b4cad1362 t