chiark / gitweb /
Add test to ensure that "stg clean" preserves conflicting patches
authorPavel Roskin <proski@gnu.org>
Fri, 25 Jan 2008 08:55:17 +0000 (03:55 -0500)
committerKarl Hasselström <kha@treskal.com>
Tue, 29 Jan 2008 03:26:13 +0000 (04:26 +0100)
commit52e96a352da165a8b56dec8df9b026392fc8dd97
tree1a07d19620905ff2fad9a0af1d9f914b60d97a0b
parenta45cea156746937c5d2e73c22cbcbf23479b4cfe
Add test to ensure that "stg clean" preserves conflicting patches

If "stg push" fails, the subsequent "stg clean" will remove the patch
that could not be applied. I think it's wrong. Especially when doing
"stg pull", it can happen that I want to run "stg clean" to get rid of
the patches applied upstream so I can concentrate on the conflict.
Instead, the conflicting patch is removed too.

The test added by this patch should pass once the bug is fixed.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Karl Hasselström <kha@treskal.com>
t/t2500-clean.sh