chiark / gitweb /
Clean-up if the branch creation fails (bug #10015)
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 4 Dec 2007 21:46:14 +0000 (21:46 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 4 Dec 2007 21:46:14 +0000 (21:46 +0000)
commit91413512c5afe7c69aabf4367a9ff8ed1df21efb
treeb422791227fc0473585bbbde29266e3b76d022de
parent8319e9ba97c44bb88335aa7a3f22060ea6f8eb07
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 <catalin.marinas@gmail.com>
stgit/git.py
t/t1000-branch-create.sh