Mercurial > public > mercurial-scm > hg
comparison mercurial/changegroup.py @ 51858:607e94e01851
format: add many "missing" comma
Black was not adding them until the next changeset introduced a bunch of `from
__future__ import annotations` to most file. Since it make the next changeset
hard to read we introduce them in advance.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 16 Sep 2024 15:36:38 +0200 |
parents | e4954fd3d1c3 |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
51857:f81e0ce5103a | 51858:607e94e01851 |
---|---|
695 hookargs[b'node'] = hex(cl.node(clstart)) | 695 hookargs[b'node'] = hex(cl.node(clstart)) |
696 hookargs[b'node_last'] = hex(cl.node(clend - 1)) | 696 hookargs[b'node_last'] = hex(cl.node(clend - 1)) |
697 repo.hook( | 697 repo.hook( |
698 b'pretxnchangegroup', | 698 b'pretxnchangegroup', |
699 throw=True, | 699 throw=True, |
700 **pycompat.strkwargs(hookargs) | 700 **pycompat.strkwargs(hookargs), |
701 ) | 701 ) |
702 | 702 |
703 added = range(clstart, clend) | 703 added = range(clstart, clend) |
704 phaseall = None | 704 phaseall = None |
705 if srctype in (b'push', b'serve'): | 705 if srctype in (b'push', b'serve'): |