tests/test-convert-svn-source.t
changeset 22300 35ab037de989
parent 22046 7a9cbb315d84
child 22947 c63a09b6b337
--- a/tests/test-convert-svn-source.t	Tue Aug 26 22:03:32 2014 +0200
+++ b/tests/test-convert-svn-source.t	Tue Aug 26 22:03:32 2014 +0200
@@ -168,6 +168,27 @@
   |
   o  0 second letter files: letter2.txt
   
+Convert with --full adds and removes files that didn't change
+
+  $ cd B
+  $ echo >> "letter .txt"
+  $ svn ci -m 'nothing'
+  Sending        letter .txt
+  Transmitting file data .
+  Committed revision 9.
+  $ cd ..
+
+  $ echo 'rename letter2.txt letter3.txt' > filemap
+  $ hg convert --filemap filemap --full "$SVNREPOURL/proj%20B/mytrunk" fmap
+  scanning source...
+  sorting...
+  converting...
+  0 nothing
+  $ hg -R fmap st --change tip
+  A letter .txt
+  A letter3.txt
+  R letter2.txt
+
 test invalid splicemap1
 
   $ cat > splicemap <<EOF