comparison mercurial/context.py @ 26031:0b57b77f9b3e

devel-warn: issue a warning when writing bookmarks without holding the wlock I saw an issue in an extension that we develop where we were writing bookmarks without holding the wlock. Another extension was taking a lock at the same time and wiped out the bookmarks we were about to write. This patch adds a devel-warning to urge people to fix their invalid code.
author Laurent Charignon <lcharignon@fb.com>
date Sat, 01 Aug 2015 05:43:39 -0700
parents 18541e9510c5
children 3a0bb61371c5
comparison
equal deleted inserted replaced
26030:5243890224ff 26031:0b57b77f9b3e