comparison mercurial/shelve.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 adbfbbf9963f
children f4733654f144
comparison
equal deleted inserted replaced
51857:f81e0ce5103a 51858:607e94e01851
671 commitfunc, 671 commitfunc,
672 None, 672 None,
673 False, 673 False,
674 cmdutil.recordfilter, 674 cmdutil.recordfilter,
675 *pats, 675 *pats,
676 **pycompat.strkwargs(opts) 676 **pycompat.strkwargs(opts),
677 ) 677 )
678 if not node: 678 if not node:
679 _nothingtoshelvemessaging(ui, repo, pats, opts) 679 _nothingtoshelvemessaging(ui, repo, pats, opts)
680 return 1 680 return 1
681 681
1048 commitfunc, 1048 commitfunc,
1049 None, 1049 None,
1050 False, 1050 False,
1051 cmdutil.recordfilter, 1051 cmdutil.recordfilter,
1052 *pats, 1052 *pats,
1053 **pycompat.strkwargs(opts) 1053 **pycompat.strkwargs(opts),
1054 ) 1054 )
1055 snode = repo.commit( 1055 snode = repo.commit(
1056 text=shelvectx.description(), 1056 text=shelvectx.description(),
1057 extra=shelvectx.extra(), 1057 extra=shelvectx.extra(),
1058 user=shelvectx.user(), 1058 user=shelvectx.user(),