tests/test-convert-svn-source.t
changeset 22300 35ab037de989
parent 22046 7a9cbb315d84
child 22947 c63a09b6b337
equal deleted inserted replaced
22299:98aafdf4cbf6 22300:35ab037de989
   166   $ hg log -G -R fmap --template '{rev} {desc|firstline} files: {files}\n'
   166   $ hg log -G -R fmap --template '{rev} {desc|firstline} files: {files}\n'
   167   o  1 work in progress files: letter2.txt
   167   o  1 work in progress files: letter2.txt
   168   |
   168   |
   169   o  0 second letter files: letter2.txt
   169   o  0 second letter files: letter2.txt
   170   
   170   
       
   171 Convert with --full adds and removes files that didn't change
       
   172 
       
   173   $ cd B
       
   174   $ echo >> "letter .txt"
       
   175   $ svn ci -m 'nothing'
       
   176   Sending        letter .txt
       
   177   Transmitting file data .
       
   178   Committed revision 9.
       
   179   $ cd ..
       
   180 
       
   181   $ echo 'rename letter2.txt letter3.txt' > filemap
       
   182   $ hg convert --filemap filemap --full "$SVNREPOURL/proj%20B/mytrunk" fmap
       
   183   scanning source...
       
   184   sorting...
       
   185   converting...
       
   186   0 nothing
       
   187   $ hg -R fmap st --change tip
       
   188   A letter .txt
       
   189   A letter3.txt
       
   190   R letter2.txt
       
   191 
   171 test invalid splicemap1
   192 test invalid splicemap1
   172 
   193 
   173   $ cat > splicemap <<EOF
   194   $ cat > splicemap <<EOF
   174   > $INVALIDREVISIONID $VALIDREVISIONID
   195   > $INVALIDREVISIONID $VALIDREVISIONID
   175   > EOF
   196   > EOF