tests/test-import
changeset 9576 c156bf947e26
parent 9328 648d6a1a1cf2
parent 9573 b8352a3617f3
child 9594 f0c5c59d878d
equal deleted inserted replaced
9571:7e03423def3c 9576:c156bf947e26
   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 
       
   349 echo % 'first line mistaken for email headers (issue 1859)'
       
   350 hg init emailconfusion
       
   351 cd emailconfusion
       
   352 cat > a.patch <<EOF
       
   353 module: summary
       
   354 
       
   355 description
       
   356 
       
   357 
       
   358 diff -r 000000000000 -r 9b4c1e343b55 test.txt
       
   359 --- /dev/null
       
   360 +++ b/a
       
   361 @@ -0,0 +1,1 @@
       
   362 +a
       
   363 EOF
       
   364 hg import -d '0 0' a.patch
       
   365 hg parents -v
       
   366 cd ..
       
   367