test_pack_optimizes_pack_order fails with default set to 2a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Robert Collins |
Bug Description
ERROR: test_repository
Overlapping range not allowed: last range ended at 42, new one starts at 6
=======
ERROR: test_pack_
vvvv[log from bzrlib.
2776.667 creating repository in file://
2776.677 creating branch <bzrlib.
2776.696 preparing to commit
2776.702 Selecting files for commit with filter []
2776.732 preparing to commit
2776.737 Selecting files for commit with filter []
2776.770 preparing to commit
2776.775 Selecting files for commit with filter []
2776.807 preparing to commit
2776.812 Selecting files for commit with filter []
2776.900 opening working tree '/tmp/testbzr-
^^^^[log from bzrlib.
-------
Traceback (most recent call last):
File "/home/
new_pack = packer.pack()
File "/home/
return self._create_
File "/home/
self.
File "/home/
self.
File "/home/
write_index, output_lines, pb, readv_group_iter, total_items):
File "/home/
izip(
File "/home/
self.
File "/home/
format = self._read_line()
File "/home/
line = self._source.
File "/home/
self._next()
File "/home/
offset, data = self.readv_
File "/home/
fudge_
File "/home/
% (last_end, start))
ValueError: Overlapping range not allowed: last range ended at 42, new one starts at 6
Related branches
- Andrew Bennetts: Approve
- Diff: 12 lines
Changed in bzr: | |
status: | Confirmed → Fix Released |
assignee: | nobody → Robert Collins (lifeless) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote: .TestPacker. test_pack_ optimizes_ pack_order
> Public bug reported:
>
>
> ERROR: test_repository
> Overlapping range not allowed: last range ended at 42, new one starts at 6
I'm pretty sure I fixed that one recently. Basically the code assumes it
knows what the 'value' field in the index means, but it is different
between chk and regular indexes.
The old code used:
isinstance(repo, RepositoryCHK1) to check, and now it needs
isinstance(repo, Repository2a)
or something along those lines.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
GvukACgkQJdeBCY SNAANYEQCdGIHCL +Nqe8W8TsErP32Y Bl3k a4aNwWBXu6aqOza Ww
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkq
36gAnRusckIhz0Z
=kkCA
-----END PGP SIGNATURE-----