equal
deleted
inserted
replaced
205 echo % $name file |
205 echo % $name file |
206 test -f $name && cat $name |
206 test -f $name && cat $name |
207 done |
207 done |
208 cd .. |
208 cd .. |
209 |
209 |
|
210 # Test importing a patch ending with a binary file removal |
|
211 echo % test trailing binary removal |
|
212 hg init binaryremoval |
|
213 cd binaryremoval |
|
214 echo a > a |
|
215 python -c "file('b', 'wb').write('a\x00b')" |
|
216 hg ci -Am addall |
|
217 hg rm a |
|
218 hg rm b |
|
219 hg st |
|
220 hg ci -m remove |
|
221 hg export --git . > remove.diff |
|
222 cat remove.diff | grep git |
|
223 hg up -C 0 |
|
224 hg import remove.diff |
|
225 hg manifest |
|
226 cd .. |
|
227 |