Mercurial > public > mercurial-scm > hg-stable
diff tests/test-git-import @ 3717:9e248cfd8b94
handle files with more than one git binary patch
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 27 Nov 2006 22:03:36 -0200 |
parents | ab5600428b08 |
children | ad3d5b4367cb |
line wrap: on
line diff
--- a/tests/test-git-import Mon Nov 27 22:03:31 2006 -0200 +++ b/tests/test-git-import Mon Nov 27 22:03:36 2006 -0200 @@ -162,3 +162,22 @@ EOF cat foo2 hg manifest | grep binary + +echo % many binary files +hg import -m multibinary - <<EOF +diff --git a/mbinary1 b/mbinary1 +new file mode 100644 +index 0000000000000000000000000000000000000000..593f4708db84ac8fd0f5cc47c634f38c013fe9e4 +GIT binary patch +literal 4 +Lc\${NkU|;|M00aO5 + +diff --git a/mbinary2 b/mbinary2 +new file mode 100644 +index 0000000000000000000000000000000000000000..112363ac1917b417ffbd7f376ca786a1e5fa7490 +GIT binary patch +literal 5 +Mc\${NkU|\`?^000jF3jhEB + +EOF +hg manifest | grep mbinary