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