Merged r12274 from trunk to 2.3-stable (#13348)
fix repository tree can't handle two loading at once.
Contributed by Vadim Pushtaev.
Authored by: marutosijp 2013-11-13
Parent: [r12274]
Child: [r12276]