ports/devel/bzr-fastimport/files/patch-disable-known-graph
Yuri Victorovich ee193b6742 devel/bzr-fastimport: Fix by adding patches and changing MASTER_SITES
Port changes:
* Change MASTER_SITES to MASTER_SITE_DEBIAN_POOL (patched upstream)
* Add patches from U-Bunt-U
* Add NO_ARCH

PR:		230021
Submitted by:	Radim Kolar <hsn@sendmail.cz>
2018-07-27 05:41:19 +00:00

19 lines
684 B
Text

Description: Disable know graph feature.
repo.get_known_graph_ancestry() can't be called while in the middle of a write
group. Otherwise bzr will crash with: 'BTreeBuilder' object has no attribute
'_find_ancestors'.
Author: Felipe Contreras <felipe.contreras@gmail.com>
Bug: https://launchpad.net/bugs/541626
Bug-Ubuntu: https://launchpad.net/bugs/541626
--- a/revision_store.py
+++ b/revision_store.py
@@ -170,7 +170,7 @@
"""
self.repo = repo
self._graph = None
- self._use_known_graph = True
+ self._use_known_graph = False
self._supports_chks = getattr(repo._format, 'supports_chks', False)
def expects_rich_root(self):