summaryrefslogtreecommitdiff
path: root/devel/bzr-fastimport/files/patch-disable-known-graph
blob: 61f8c3a112a1ce0a98fdfa0e06d81cf32fc7504a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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):