Fri, 24 Sep 2010 00:03:58 +0200 bookmarks: fix _bookmarks/lookup() reentrancy issue (issue2016) stable
Patrick Mezard <pmezard@gmail.com> [Fri, 24 Sep 2010 00:03:58 +0200] rev 12392
bookmarks: fix _bookmarks/lookup() reentrancy issue (issue2016) _bookmarks is loaded lazily and calls super.lookup(). Unfortunately, branch and tags caches initializations also recurse in lookup() and end up trying to access _bookmarks again. Massive confusion ensues. I considered fixing all branches and tags cache loading to avoid recursing in lookup() but it would add complexity to otherwise working code provided lookups are performed on nodes or revnums.
(0) -10000 -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip