'bzr branches' is pathologically slow with an svn+ssh URL
Bug #672016 reported by
Glyph Lefkowitz
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
$ time svn ls svn+ssh:
real 0m1.724s
user 0m0.014s
sys 0m0.015s
$ time bzr branches svn+ssh:
...
Actually I got tired of waiting after about three hours and just filed the bug.
It did lots of work in the meanwhile, though.
Changed in bzr: | |
status: | Triaged → Confirmed |
Changed in bzr: | |
importance: | Undecided → Low |
importance: | Low → Medium |
tags: | added: foreign |
description: | updated |
tags: | added: affects-twisted |
To post a comment you must log in.
affects bzr-svn
status triaged
importance medium
affects bzr
status triaged
medium
On Sun, 2010-11-07 at 02:03 +0000, Glyph Lefkowitz wrote: //svn.twistedma trix.com/ svn/Twisted/ branches > /dev/null //svn.twistedma trix.com/ svn/Twisted/ branches find_branches( transport)
> $ time svn ls svn+ssh:
>
> real 0m1.724s
> user 0m0.014s
> sys 0m0.015s
>
> $ time bzr branches svn+ssh:
> > /dev/null
>
> ...
>
> Actually I got tired of waiting after about three hours and just filed
> the bug.
>
> It did lots of work in the meanwhile, though.
This is caused by the way in which BzrDir.
works. It finds all possible control directories first and then filters
out the ones that have a branch attached to them.
In svn, where every directory is a possible control directory, this
doesn't work.
bzr-svn already has a list of branches readily available for each
repository, so it should be able to answer this question without a scan
for branches.
So it would be nice if bzr-svn could provide bzr with the list of
branches under a particular location. I'm not sure what the best way to
do that (in terms of API) is though.
Cheers,
Jelmer