mercurial/changegroup.py
branchstable
changeset 31587 ed5b25874d99
parent 30743 2df983125d37
child 31608 4baf79a77afa
equal deleted inserted replaced
31516:2915cc1d3429 31587:ed5b25874d99
   291 
   291 
   292                 # write changelog data to temp files so concurrent readers
   292                 # write changelog data to temp files so concurrent readers
   293                 # will not see an inconsistent view
   293                 # will not see an inconsistent view
   294                 cl = repo.changelog
   294                 cl = repo.changelog
   295                 cl.delayupdate(tr)
   295                 cl.delayupdate(tr)
   296                 oldheads = cl.heads()
   296                 oldheads = set(cl.heads())
   297 
   297 
   298                 trp = weakref.proxy(tr)
   298                 trp = weakref.proxy(tr)
   299                 # pull off the changeset group
   299                 # pull off the changeset group
   300                 repo.ui.status(_("adding changesets\n"))
   300                 repo.ui.status(_("adding changesets\n"))
   301                 clstart = len(cl)
   301                 clstart = len(cl)