# HG changeset patch # User Patrick Mezard # Date 1195321291 -3600 # Node ID dc8fa3482a9af195a35e3462f76596a812e13ea3 # Parent e01c748cb632e25bfd1f205fcb3efd32b9fe6791 test-convert-svn-sink: test directory additions diff -r e01c748cb632 -r dc8fa3482a9a tests/test-convert-svn-sink --- a/tests/test-convert-svn-sink Sat Nov 17 18:41:31 2007 +0100 +++ b/tests/test-convert-svn-sink Sat Nov 17 18:41:31 2007 +0100 @@ -8,6 +8,8 @@ hg init a echo a > a/a +mkdir -p a/d1/d2 +echo b > a/d1/d2/b echo % add hg --cwd a ci -d '0 0' -A -m 'add a file' diff -r e01c748cb632 -r dc8fa3482a9a tests/test-convert-svn-sink.out --- a/tests/test-convert-svn-sink.out Sat Nov 17 18:41:31 2007 +0100 +++ b/tests/test-convert-svn-sink.out Sat Nov 17 18:41:31 2007 +0100 @@ -1,7 +1,8 @@ % add adding a +adding d1/d2/b % modify -1:10307c220ed9 +1:e0e2b8a9156b assuming destination a-hg initializing svn repo 'a-hg' initializing svn wc 'a-hg-wc' @@ -13,6 +14,9 @@ At revision 2. 2 2 test . 2 2 test a + 2 1 test d1 + 2 1 test d1/d2 + 2 1 test d1/d2/b /a +/d1 +/d1/d2 +/d1/d2/b add a file a: a +d1 a-hg-wc: a +d1 same % rename -2:6e45a219686e +2:7009fc4efb34 assuming destination a-hg initializing svn wc 'a-hg-wc' scanning source... @@ -53,6 +65,9 @@ At revision 3. 3 3 test . 3 3 test b + 3 1 test d1 + 3 1 test d1/d2 + 3 1 test d1/d2/b a: b +d1 a-hg-wc: b +d1 % copy -3:d811dc81efbb +3:56c519973ce6 assuming destination a-hg initializing svn wc 'a-hg-wc' scanning source... @@ -87,6 +104,9 @@ 4 4 test . 4 3 test b 4 4 test c + 4 1 test d1 + 4 1 test d1/d2 + 4 1 test d1/d2/b a: c +d1 a-hg-wc: c +d1 % executable -5:7eda3f4b5331 +5:f205b3636d77 svn: Path 'b' does not exist assuming destination a-hg initializing svn wc 'a-hg-wc' @@ -151,6 +178,9 @@ At revision 5. 5 5 test . M 5 4 test c + 5 1 test d1 + 5 1 test d1/d2 + 5 1 test d1/d2/b