Show More
@@ -329,13 +329,13 class cg1unpacker(object): | |||||
329 | # the top level value (if they exist) in this function. |
|
329 | # the top level value (if they exist) in this function. | |
330 | srctype = tr.hookargs.setdefault('source', srctype) |
|
330 | srctype = tr.hookargs.setdefault('source', srctype) | |
331 | url = tr.hookargs.setdefault('url', url) |
|
331 | url = tr.hookargs.setdefault('url', url) | |
|
332 | repo.hook('prechangegroup', throw=True, **tr.hookargs) | |||
332 |
|
333 | |||
333 | # write changelog data to temp files so concurrent readers |
|
334 | # write changelog data to temp files so concurrent readers | |
334 | # will not see an inconsistent view |
|
335 | # will not see an inconsistent view | |
335 | cl = repo.changelog |
|
336 | cl = repo.changelog | |
336 | cl.delayupdate(tr) |
|
337 | cl.delayupdate(tr) | |
337 | oldheads = cl.heads() |
|
338 | oldheads = cl.heads() | |
338 | repo.hook('prechangegroup', throw=True, **tr.hookargs) |
|
|||
339 |
|
339 | |||
340 | trp = weakref.proxy(tr) |
|
340 | trp = weakref.proxy(tr) | |
341 | # pull off the changeset group |
|
341 | # pull off the changeset group |
General Comments 0
You need to be logged in to leave comments.
Login now