tests/test-convert-git
changeset 7223 5d14b06b1cc1
parent 6737 7239e06e58e9
parent 7222 c1dc903dc7b6
child 8271 e3d3dad805f9
equal deleted inserted replaced
7220:60826e071ce2 7223:5d14b06b1cc1
   130 
   130 
   131 splitrepo 'octopus merge' 'foo bar baz'
   131 splitrepo 'octopus merge' 'foo bar baz'
   132 
   132 
   133 splitrepo 'only some parents of an octopus merge; "discard" a head' 'foo baz quux'
   133 splitrepo 'only some parents of an octopus merge; "discard" a head' 'foo baz quux'
   134 
   134 
       
   135 echo
       
   136 echo '% test binary conversion (issue 1359)'
       
   137 mkdir git-repo3
       
   138 cd git-repo3
       
   139 git init-db >/dev/null 2>/dev/null
       
   140 python -c 'file("b", "wb").write("".join([chr(i) for i in range(256)])*16)'
       
   141 git add b
       
   142 commit -a -m addbinary
       
   143 cd ..
       
   144 
       
   145 echo '% convert binary file'
       
   146 hg convert git-repo3 git-repo3-hg
       
   147 
       
   148 cd git-repo3-hg
       
   149 hg up -C
       
   150 python -c 'print len(file("b", "rb").read())'
       
   151