[issue86] localrepo.update() corrupts mapcache of manifest.read()

Thomas Arendsen Hein mercurial-bugs at selenic.com
Fri Dec 2 14:36:52 UTC 2005


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

Simon Schubert found the following bug:
localrepo.update does:
  m2 = self.manifest.read(m2n)
  ma = self.manifest.read(man)
and later:
  del m2[f]

If man == m2n, then manfest.read's mapcache still belongs to the same node, so
the mapcache gets corrupted by del m2[f]

----------
messages: 259
nosy: ThomasAH, mpm
priority: urgent
status: unread
title: localrepo.update() corrupts mapcache of manifest.read()

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue86>
____________________________________________________




More information about the Mercurial mailing list