Code

cvsimport - cleanup of the multi-indexes handling
authorMartin Langhoff <martin@catalyst.net.nz>
Wed, 28 Jun 2006 10:13:23 +0000 (22:13 +1200)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Jun 2006 10:53:37 +0000 (03:53 -0700)
commitc5f448b0f2dcba3b14cd8fcae7414def4d3f4e45
tree7e61c3b050dc0f300c3ade616f10ec26cd830aac
parent3b44f15a35b3550f34a4f796706fceccdc90d506
cvsimport - cleanup of the multi-indexes handling

Indexes are only needed when we are about preparing to commit. Prime them
inside commit() when we have all the info we need, and remove all the
redundant index setups.

While we are at it, make sure that index handling is correct when opening
new branches, and on initial import.

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl