Merge lp://staging/~zyga/bzr/find_ancestors into lp://staging/bzr
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~zyga/bzr/find_ancestors |
Merge into: | lp://staging/bzr |
Diff against target: |
41 lines (+13/-0) 2 files modified
bzrlib/btree_index.py (+3/-0) bzrlib/index.py (+10/-0) |
To merge this branch: | bzr merge lp://staging/~zyga/bzr/find_ancestors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Needs Information | ||
Martin Packman (community) | Needs Fixing | ||
Review via email: mp+127610@code.staging.launchpad.net |
Description of the change
Add a workaround for bzr-fastimport crashing, see bug https:/
As stated, I don't know how correct this solution is in practice. From my limited testing it _fixes_ the crash and
seems to produce proper repository data. I want to get feedback from developers that know the core bzr better than I do.
Unmerged revisions
- 6569. By Zygmunt Krynicki
-
Have CombinedIndex.
find_ancestry( ) skip BTreeBuilder instances This apparantly works around bug https:/
/bugs.launchpad .net/bzr/ +bug/541626
As the comment states I don't really know how correct that is but it seems to
produce proper results for the things that affected me and it no longer crashes
bzr in that case.I could not move the import statement to the top as that made it fail. It is
probably related to some internal bzr import hook. - 6568. By Zygmunt Krynicki
-
Add stub for BTreeBuilder.
_find_ancestors () This replaces confusing AttributeErrors with something that is easier to
understand. This is related to bug https://bugs.launchpad .net/bzr/ +bug/541626
Thanks for having a go at fixing this.
To land, this branch really needs:
* Tests, to demonstrate the problem and evaluate any attempted fix against
* Logic, rather than than just raising NotImplementedError and skipping that case
Did you have a look at Wouter's branch, which implements the method? Does that also work for you?
<lp:~larstiq/bzr/bug541626>
If so, picking up that code and writing a test case that exercises it would be a good way forwards.