Mercurial > hg
comparison tests/test-import.out @ 6179:36ab165abbe2
patch: fix iterhunks() with trailing binary file removal
Like some renames or copy operations, binary file removal does not generate any
"file" or "hunk" action, but was not tagged as such and let iterhunk() assume
no hunk was applied for the deleted file.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 28 Feb 2008 00:07:37 +0100 |
parents | 30d2fecaab76 |
children | bace1990ab12 |
comparison
equal
deleted
inserted
replaced
6178:81afdd016867 | 6179:36ab165abbe2 |
---|---|
221 % c1 file | 221 % c1 file |
222 c | 222 c |
223 % c2 file | 223 % c2 file |
224 c | 224 c |
225 % d file | 225 % d file |
226 % test trailing binary removal | |
227 adding a | |
228 adding b | |
229 R a | |
230 R b | |
231 diff --git a/a b/a | |
232 diff --git a/b b/b | |
233 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
234 applying remove.diff |