tests/test-convert-svn-source.t
changeset 23583 a8edcb9c1199
parent 22947 c63a09b6b337
child 25472 4d2b9b304ad0
equal deleted inserted replaced
23582:7559dc8c4238 23583:a8edcb9c1199
   237   scanning source...
   237   scanning source...
   238   sorting...
   238   sorting...
   239   converting...
   239   converting...
   240   1 init projA
   240   1 init projA
   241   0 adddir
   241   0 adddir
       
   242 
       
   243 Test that a too-new repository format is properly rejected:
       
   244   $ mv svn-empty/format format
       
   245   $ echo 999 > svn-empty/format
       
   246 It's important that this command explicitly specify svn, otherwise it
       
   247 can have surprising side effects (like falling back to a perforce
       
   248 depot that can be seen from the test environment and slurping from that.)
       
   249   $ hg convert --source-type svn svn-empty this-will-fail
       
   250   initializing destination this-will-fail repository
       
   251   file:/*/$TESTTMP/svn-empty does not look like a Subversion repository to libsvn version 1.*.* (glob)
       
   252   abort: svn-empty: missing or unsupported repository
       
   253   [255]
       
   254   $ mv format svn-empty/format