tests/test-convert-git.t
changeset 39723 5abc47d4ca6b
parent 37580 1c3c9211a40e
child 41287 c0221d929eb9
equal deleted inserted replaced
39722:030d558c6456 39723:5abc47d4ca6b
   418 
   418 
   419   $ count=19
   419   $ count=19
   420   $ mkdir git-repo3
   420   $ mkdir git-repo3
   421   $ cd git-repo3
   421   $ cd git-repo3
   422   $ git init-db >/dev/null 2>/dev/null
   422   $ git init-db >/dev/null 2>/dev/null
   423   $ $PYTHON -c 'import struct; open("b", "wb").write(b"".join([struct.Struct(">B").pack(i) for i in range(256)])*16)'
   423   $ "$PYTHON" -c 'import struct; open("b", "wb").write(b"".join([struct.Struct(">B").pack(i) for i in range(256)])*16)'
   424   $ git add b
   424   $ git add b
   425   $ commit -a -m addbinary
   425   $ commit -a -m addbinary
   426   $ cd ..
   426   $ cd ..
   427 
   427 
   428 convert binary file
   428 convert binary file
   435   0 addbinary
   435   0 addbinary
   436   updating bookmarks
   436   updating bookmarks
   437   $ cd git-repo3-hg
   437   $ cd git-repo3-hg
   438   $ hg up -C
   438   $ hg up -C
   439   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   439   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   440   $ $PYTHON -c 'from __future__ import print_function; print(len(open("b", "rb").read()))'
   440   $ "$PYTHON" -c 'from __future__ import print_function; print(len(open("b", "rb").read()))'
   441   4096
   441   4096
   442   $ cd ..
   442   $ cd ..
   443 
   443 
   444 test author vs committer
   444 test author vs committer
   445 
   445