# HG changeset patch # User Pierre-Yves David # Date 2023-02-04 11:14:19 # Node ID bbe3a65bbd96f300dcd7c0b2cff6cb10c138ebe3 # Parent e8c170a6571d588384be066b840748673b04ea5b subrepo: let black expand some call on multiple lines early newer version of black are righfully doing this, so I apply it before more semantic change to reduce noise in the next changeset. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -570,7 +570,13 @@ class hgsubrepo(abstractsubrepo): @annotatesubrepoerror def add(self, ui, match, prefix, uipathfn, explicitonly, **opts): return cmdutil.add( - ui, self._repo, match, prefix, uipathfn, explicitonly, **opts + ui, + self._repo, + match, + prefix, + uipathfn, + explicitonly, + **opts, ) @annotatesubrepoerror @@ -621,7 +627,7 @@ class hgsubrepo(abstractsubrepo): match, prefix=prefix, listsubrepos=True, - **opts + **opts, ) except error.RepoLookupError as inst: self.ui.warn( @@ -1123,7 +1129,7 @@ class svnsubrepo(abstractsubrepo): stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=procutil.tonativeenv(env), - **extrakw + **extrakw, ) stdout, stderr = map(util.fromnativeeol, p.communicate()) stderr = stderr.strip() @@ -1488,7 +1494,7 @@ class gitsubrepo(abstractsubrepo): close_fds=procutil.closefds, stdout=subprocess.PIPE, stderr=errpipe, - **extrakw + **extrakw, ) if stream: return p.stdout, None