git p4: test clean-up after failed submit, fix added files
authorPete Wyckoff <pw@padd.com>
Sun, 9 Sep 2012 20:16:07 +0000 (16:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2012 04:52:52 +0000 (21:52 -0700)
commitf7fbc981a4effde51446c2229e34f2fc9210d31d
tree5cffd1ff4db86a1776a2ebe7dcc92b1a43a2defd
parent5a41c16a81927bbccbcb00895b168a6d560b8c2c
git p4: test clean-up after failed submit, fix added files

Test a variety of cases where a patch failed to apply to
p4 and had to be cleaned up.

If the patch failed to apply cleanly, do not try to remove
to-be-added files, as they have not really been added yet.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
t/t9815-git-p4-submit-fail.sh