Comments
Patch
@@ -408,6 +408,8 @@
topic='widen')
repo._bookmarks = bmstore
if chgrpfile:
+ op._widen_unsafeop = repo.ui.unsafeoperation()
+ op._widen_unsafeop.__enter__()
# presence of _widen_bundle attribute activates widen handler later
op._widen_bundle = chgrpfile
# Set the new narrowspec if we're widening. The setnewnarrowpats() method
@@ -455,6 +457,7 @@
(undovfs.join(undofile), stringutil.forcebytestr(e)))
# Remove partial backup only if there were no exceptions
+ op._widen_unsafeop.__exit__(None, None, None)
vfs.unlink(chgrpfile)
def setup():