bug? find_branches or find_bzrdir tries to open all files as bzr locations
Alexander Belchenko
bialix at ukr.net
Wed May 18 09:52:33 UTC 2011
Alexander Belchenko пишет:
> OK, I was wrong in my assumption that bzr tries to open location many
> times.
>
> But I've hacked a small plugin to check whether I can have faster
> find_branches if I will try to open only directories as branches.
> The code available at lp:~bialix/+junk/bzr-find-branches
>
> I understand that my code could do something wrong, but as I can see my
> custom find_branches provide the same output as BzrDir.find_branches().
> There is one shortcut though: I check only directories, skip symlinks,
> but I don't have symlinks on my Windows anyway.
>
> Here are some numbers for 2 cases.
>
> 1) My job hive of branches.
> As of today we have 792 branches on our server. I've made copy of the
> entire hive on my local machine and then run various find_branches
> implementations.
all those branches are treeless, btw.
More information about the bazaar
mailing list