tests/test-import
changeset 5953 e7f1be4bf40a
parent 5937 d8878742a924
child 6001 30d2fecaab76
equal deleted inserted replaced
5952:2e8eeb5bf29b 5953:e7f1be4bf40a
    28 
    28 
    29 echo % import of plain diff should be ok with message
    29 echo % import of plain diff should be ok with message
    30 hg clone -r0 a b
    30 hg clone -r0 a b
    31 hg --cwd a diff -r0:1 > tip.patch
    31 hg --cwd a diff -r0:1 > tip.patch
    32 hg --cwd b import -mpatch ../tip.patch
    32 hg --cwd b import -mpatch ../tip.patch
       
    33 rm -r b
       
    34 
       
    35 echo % import of plain diff with specific date and user
       
    36 hg clone -r0 a b
       
    37 hg --cwd a diff -r0:1 > tip.patch
       
    38 hg --cwd b import -mpatch -d '1 0' -u 'user@nowhere.net' ../tip.patch
       
    39 hg -R b tip -pv
    33 rm -r b
    40 rm -r b
    34 
    41 
    35 echo % import of plain diff should be ok with --no-commit
    42 echo % import of plain diff should be ok with --no-commit
    36 hg clone -r0 a b
    43 hg clone -r0 a b
    37 hg --cwd a diff -r0:1 > tip.patch
    44 hg --cwd a diff -r0:1 > tip.patch