Mercurial > hg-stable
view tests/test-convert-svn-move.out @ 10203:6e26e3c2083f stable
patch: explicitely close input patch files when leaving
If applydiff() raises an exception, the opened patch file is kept alive in the
exception context. If it is a temporary file (for instance supplied by import
command with stdin input), Windows cannot clean it up.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 03 Jan 2010 19:47:07 +0100 |
parents | 8b603c7c808e |
children | 55abde5cba43 |
line wrap: on
line source
% convert trunk and branches initializing destination A-hg repository scanning source... sorting... converting... 11 createtrunk 10 moved1 9 moved1 8 moved2 7 changeb and rm d2 6 changeb and rm d2 5 moved1again 4 moved1again 3 copyfilefrompast 2 copydirfrompast 1 add d3 0 copy dir and remove subdir o 11 copy dir and remove subdir files: d3/d31/e d4/d31/e d4/f | o 10 add d3 files: d3/d31/e d3/f | o 9 copydirfrompast files: d2/d | o 8 copyfilefrompast files: d | o 7 moved1again files: d1/b d1/c | | o 6 moved1again files: | | o | 5 changeb and rm d2 files: d1/b d2/d | | | o 4 changeb and rm d2 files: b | | o | 3 moved2 files: d2/d | | o | 2 moved1 files: d1/b d1/c | | | o 1 moved1 files: b c | o 0 createtrunk files: default 11: d1 6: