##// END OF EJS Templates
tr-summary: keep a weakref to the unfiltered repository...
tr-summary: keep a weakref to the unfiltered repository Repoview can have a different life cycle, causing issue in some corner cases. The particular instance that revealed this comes from localpeer. The localpeer hold a reference to the unfiltered repository, but calling 'local()' will create an on-demand 'visible' repoview. That repoview can be garbaged collected any time. Here is a simplified step by step reproduction:: 1) tr = peer.local().transaction('foo') 2) tr.close() After (1), the repoview object is garbage collected, so weakref used in (2) point to nothing. Thanks to Sean Farley for helping raising and debugging this issue.

File last commit:

r30873:dc22729b stable
r35140:96dcc784 stable
Show More
changelog
5 lines | 164 B | text/plain | TextLexer
Sean Farley
builddeb: use the os codename instead of 'unstable'...
r28989 mercurial (__VERSION__) __CODENAME__; urgency=medium
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148
* Automated build performed by upstream.
av6
debian: update mailing list address
r30873 -- Mercurial Devel <mercurial-devel@mercurial-scm.org> __DATE__