From: Catalin Marinas Date: Tue, 4 Dec 2007 21:46:14 +0000 (+0000) Subject: Clean-up if the branch creation fails (bug #10015) X-Git-Tag: v0.14~16 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/91413512c5afe7c69aabf4367a9ff8ed1df21efb?hp=91413512c5afe7c69aabf4367a9ff8ed1df21efb Clean-up if the branch creation fails (bug #10015) If the tree switching fails during the branch creation, the new head will be reverted and the new branch deleted. Signed-off-by: Catalin Marinas ---