comparison 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
comparison
equal deleted inserted replaced
3716:ab5600428b08 3717:9e248cfd8b94
160 rename from foo 160 rename from foo
161 rename to foo2 161 rename to foo2
162 EOF 162 EOF
163 cat foo2 163 cat foo2
164 hg manifest | grep binary 164 hg manifest | grep binary
165
166 echo % many binary files
167 hg import -m multibinary - <<EOF
168 diff --git a/mbinary1 b/mbinary1
169 new file mode 100644
170 index 0000000000000000000000000000000000000000..593f4708db84ac8fd0f5cc47c634f38c013fe9e4
171 GIT binary patch
172 literal 4
173 Lc\${NkU|;|M00aO5
174
175 diff --git a/mbinary2 b/mbinary2
176 new file mode 100644
177 index 0000000000000000000000000000000000000000..112363ac1917b417ffbd7f376ca786a1e5fa7490
178 GIT binary patch
179 literal 5
180 Mc\${NkU|\`?^000jF3jhEB
181
182 EOF
183 hg manifest | grep mbinary