Mercurial > hg
diff mercurial/ancestor.py @ 15246:7b15dd9125b3
httprepo: make __del__ more stable in error situations
Some errors could leave self.urlopener uninitialized and thus cause strange
crashes in __del__.
This member variable is now "declared statically" and checked for assignment
before use.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 13 Oct 2011 04:27:49 +0200 |
parents | 1ffeeb91c55d |
children | 0b03454abae7 |