Create backup reference before deletion of the original branch
authorJehan Bing <nahor.j@gmail.com>
Thu, 10 Mar 2011 18:54:52 +0000 (10:54 -0800)
committerTorgny Nyblom <kde@nyblom.org>
Mon, 21 Mar 2011 17:38:26 +0000 (18:38 +0100)
commit584005f2e26149282aa12c4a0367d250caaf3918
tree621adf0e7644446d08d30f17a79742cf85234b69
parent34f881571e48b6fb71f687944ff4420d589a6d22
Create backup reference before deletion of the original branch

Ensure that the backup reference is created before deleting the original
branch. As it was, the deletion was executed earlier causing the backup
reference to point to a non-existing branch so was not created.
src/repository.cpp