requires manually specifying layout if only part of the repository is accessible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Triaged
|
Low
|
Unassigned | ||
Launchpad itself |
Won't Fix
|
Low
|
Unassigned | ||
Zotero Translations |
Confirmed
|
Critical
|
Unassigned |
Bug Description
Observe:
E:\home\zotero>bzr info https:/
HTTPS www.zotero.org username:
<https:/
HTTPS www.zotero.org username:
<https:/
bzr: ERROR: subvertpy.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\info.pyo", line 328, in show_bzrdir_info
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
File "E:/Tools/
SubversionExcep
bzr 2.2.1 on python 2.6.4 (Windows-
arguments: ['bzr', 'info', 'https:/
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools E:\Tools\
colo E:\Tools\
explorer E:\Tools\
fastimport E:\Tools\
launchpad E:\Tools\
loom E:\Tools\
netrc_
news_merge E:\Tools\
pipeline E:\Tools\
qbzr E:\Tools\
rewrite E:\Tools\
svn E:\Tools\
upload E:\Tools\
xmloutput E:\Tools\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
It seems that that path really *is* inaccessible, but that should that really be an issue if the repository is split into "projects", each with their own branch structure, only one of which (extensions) I am asking to import?
Changed in zotero: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Finding the repository structure requires analysis of the full repository. The cache also only works repository-wide at the moment (bug 520694).
If you disable the cache and manually specify the repository layout you should be able to check out /extensions/trunk.
I have the following in ~/.bazaar/ subversion. conf:
[45803e0f- 1f0d-0410- b1ad-df509fcb35 97]
layout = trunk1
use-cache = False
I'm not sure what the best way is to deal with the repository layout detection. The only thing that comes to mind at the moment is a gross hack: checking if the requested "bzr svn-import" argument is accessible if we get an auth required error somewhere else, and then printing a warning.