Speed up for refreshing repository
Allocate tree entry