HomePhabricator

strip: access bookmark before getting a reference to changelog

Authored by marmoute.

Description

strip: access bookmark before getting a reference to changelog

Bookmark access might invalidate the current changelog (to make sure both are in
a reasonable synchronisation state). So we should grab the reference to
changelog after we access bookmark. Otherwise we risk using a dead object for
the whole strip process.

(note: this dead object business probably requires a new layers of checking)

Details

Committed
marmouteThu, Aug 1, 10:22 AM
Parents
rHG90d8a2a42d5c: test: use a more verbose output in the test
Branches
Unknown
Tags
Unknown