Lp allows users to run bzr upgrade with broken version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Bug 636930 is fixed, but not all users have the fixed version installed. It would be helpful to users to if the upgrade instructions explained which version is need. It would be ideal if Lp rejected bzr commands for broken versions. Eg, 2.2.0 is known to fail when running bzr upgrade.
jdahlin@dragon:~$ bzr upgrade lp:stoqlib
...
starting upgrade of bzr+ssh:
making backup of bzr+ssh:
to bzr+ssh:
starting repository conversion
135476kB 0kB/s - checking repository format:Copying content:Fetching revisions:Inserting stream:Walking content 5480/5480
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
upgrade(url, format)
File "/usr/lib/
Convert(url, format)
File "/usr/lib/
self.convert()
File "/usr/lib/
self.bzrdir = converter.
File "/usr/lib/
converter.
File "/usr/lib/
self.
File "/usr/lib/
return InterRepository
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
find_
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
stream, from_format, [])
File "/usr/lib/
is_resume)
File "/usr/lib/
for substream_type, substream in stream:
File "/usr/lib/
for _ in self._generate_
File "/usr/lib/
self.
File "/usr/lib/
graph = self.source_
AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'
bzr 2.2.0 on python 2.6.6 (Linux-
arguments: ['/usr/bin/bzr', 'upgrade', 'lp:stoqlib']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bash_completion /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
affects: | bzr → launchpad |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: ui |