bzr repo corrupted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
The bzr repository seems to have arbitrarily corrupted. I have another branch, so it's not a big deal for me. Is there any way to fix corrupted repositories, or at least glean the most recent revisions? I don't know what caused the corruption.
$ bzr check
Checking working tree at '[path]'.
Checking branch at 'file:///[path]/'.
Checking repository at 'file:///[path]/'.
bzr: ERROR: bzrlib.
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/
check_
File "/usr/lib/
check_
File "/usr/lib/
check_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for record in getattr(self, kind).check(
File "/usr/lib/
orig_keys, ordering, include_
File "/usr/lib/
for factory in batcher.
File "/usr/lib/
block_
File "/usr/lib/
zdata = raw_records.next()
File "/usr/lib/
for names, read_func in reader.
File "/usr/lib/
for record in self._iter_
File "/usr/lib/
record_kind = self.reader_func(1)
File "/usr/lib/
return self._source.
File "/usr/lib/
self._next()
File "/usr/lib/
offset, data = self.readv_
File "/usr/lib/
c_offset.
ShortReadvError: readv() read 4109539 bytes rather than 8130994 bytes at 31431453 for "aa7e51fead1993
bzr 2.7.0dev1 on python 2.7.6 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'check']
plugins: bash_completion
explorer[
netrc_
po_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** 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.
$ bzr version
Bazaar (bzr) 2.7.0dev1
Python interpreter: /usr/bin/python 2.7.6
Python standard library: /usr/lib/python2.7
Platform: Linux-3.
bzrlib: /usr/lib/
Bazaar configuration: /home/lubuntu/
Bazaar log file: /home/lubuntu/
tags: | added: check-for-breezy |