Mercurial > hg-stable
view tests/test-mq-safety.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 | 6d891df43a5f |
children | 2e3ec7ef5349 |
line wrap: on
line source
% try to commit on top of a patch abort: cannot commit over an applied mq patch % qpop/qrefresh on the wrong revision abort: popping would remove a revision not managed by this patch queue using patch queue: abort: popping would remove a revision not managed by this patch queue abort: working directory revision is not qtip 1 files updated, 0 files merged, 0 files removed, 0 files unresolved % qpop abort: popping would remove a revision not managed by this patch queue % qrefresh abort: cannot refresh a revision with children % tip: 3 append quux