equal
deleted
inserted
replaced
273 # The transaction may already carry source information. In this |
273 # The transaction may already carry source information. In this |
274 # case we use the top level data. We overwrite the argument |
274 # case we use the top level data. We overwrite the argument |
275 # because we need to use the top level value (if they exist) |
275 # because we need to use the top level value (if they exist) |
276 # in this function. |
276 # in this function. |
277 srctype = tr.hookargs.setdefault('source', srctype) |
277 srctype = tr.hookargs.setdefault('source', srctype) |
278 url = tr.hookargs.setdefault('url', url) |
278 tr.hookargs.setdefault('url', url) |
279 repo.hook('prechangegroup', |
279 repo.hook('prechangegroup', |
280 throw=True, **pycompat.strkwargs(tr.hookargs)) |
280 throw=True, **pycompat.strkwargs(tr.hookargs)) |
281 |
281 |
282 # write changelog data to temp files so concurrent readers |
282 # write changelog data to temp files so concurrent readers |
283 # will not see an inconsistent view |
283 # will not see an inconsistent view |