Locking while writing obsolete data.
--- a/hgext/obsolete.py Sat Jan 07 11:26:48 2012 +0100
+++ b/hgext/obsolete.py Sat Jan 07 11:33:20 2012 +0100
@@ -473,9 +473,10 @@
@scmutil.filecache('00changelog.i', True)
def changelog(self):
changelog = getattr(super(obsoletingrepo, self), 'changelog')
- assert not changelog.__dict__.pop('hiddenrevs', ())
+ old = changelog.__dict__.pop('hiddenrevs', ())
+ if old:
+ ui.warn("old wasn't empty ? %r" % old)
def _sethidden(changelog, value):
- print 'COIN COIN', value
assert not value