view tests/test-diffstat.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 7d17794f08a9
children
line wrap: on
line source

% wide diffstat
 a |  213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 213 insertions(+), 0 deletions(-)
% diffstat width
 a |  213 ++++++++++++++
 1 files changed, 213 insertions(+), 0 deletions(-)
% narrow diffstat
 a |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
% binary diffstat
 b |    0 
 1 files changed, 0 insertions(+), 0 deletions(-)
% binary git diffstat
 b |  Bin 
 1 files changed, 0 insertions(+), 0 deletions(-)