tests/test-import
changeset 9591 012f1244cd4c
parent 9328 648d6a1a1cf2
parent 9573 b8352a3617f3
child 9594 f0c5c59d878d
equal deleted inserted replaced
9546:4333b9744419 9591:012f1244cd4c
   343 EOF
   343 EOF
   344 hg init oddcreate
   344 hg init oddcreate
   345 cd oddcreate
   345 cd oddcreate
   346 hg import --no-commit ../create.patch
   346 hg import --no-commit ../create.patch
   347 cat foo
   347 cat foo
       
   348 cd ..
       
   349 
       
   350 echo % 'first line mistaken for email headers (issue 1859)'
       
   351 hg init emailconfusion
       
   352 cd emailconfusion
       
   353 cat > a.patch <<EOF
       
   354 module: summary
       
   355 
       
   356 description
       
   357 
       
   358 
       
   359 diff -r 000000000000 -r 9b4c1e343b55 test.txt
       
   360 --- /dev/null
       
   361 +++ b/a
       
   362 @@ -0,0 +1,1 @@
       
   363 +a
       
   364 EOF
       
   365 hg import -d '0 0' a.patch
       
   366 hg parents -v
       
   367 cd ..
       
   368