changeset 15635:82f5e471792d stable

test-subrepo: test for Issue3153
author Martin Geisler <mg@lazybytes.net>
date Thu, 15 Dec 2011 16:18:10 +0100
parents cfc15cbecc5e
children 4841035f37b6 7f01ad702405
files tests/test-subrepo.t
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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