Unhelpful error when importing a project with submodules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
If we attempt to import a project that uses submodules, the error emitted is not very helpful:
Ideally, we would make the project as invalid when this happens, explaining that bzr-git does not support submodules at this time.
2009-07-16 09:46:14 INFO 65 bytes transferred |
2009-07-16 09:46:16 INFO git: Counting objects: 3 0
2009-07-16 09:46:32 INFO finding revisions to fetch:generating index 0/8147
2009-07-16 09:46:36 INFO finding revisions to fetch:generating index 0/8147
2009-07-16 09:46:39 INFO finding revisions to fetch 1
2009-07-16 09:47:39 INFO fetching revisions 385/1171
2009-07-16 09:48:39 INFO fetching revisions 679/1171
2009-07-16 09:49:39 INFO fetching revisions 936/1171
2009-07-16 09:49:55 INFO
Traceback (most recent call last):
File "/srv/importd.
script.main()
File "/srv/importd.
import_
File "/srv/importd.
self.
File "/srv/importd.
overwrite=True)
File "<string>", line 4, in pull_write_locked
File "/srv/importd.
possible_
File "/srv/importd.
graph=graph)
File "/srv/importd.
interrepo.
File "/srv/importd.
store, recorded_wants, pb)
File "/srv/importd.
parent_invs, target_
File "/srv/importd.
file_id, revision_id, parent_invs, shagitmap, lookup_object)
File "/srv/importd.
raise NotImplementedE
NotImplementedE
Import failed:
Traceback (most recent call last):
Failure: twisted.
I agree this would be nice, but we totally don't have support for interpreting different kinds of failures at the moment.
I also don't think it's a priority right now.