@@ -130,13 +130,13 @@ def run(
130
130
kwargs ["cwd" ] = self .dir
131
131
132
132
if repository is not None :
133
- cli_args .append ( f "--repository { repository } " )
133
+ cli_args .extend ([ "--repository" , repository ] )
134
134
if config is not None :
135
- cli_args .append ( "--config { config}" )
135
+ cli_args .extend ([ "--config" , config ] )
136
136
if pager is not None :
137
- cli_args .append (f "--pager { pager } " )
137
+ cli_args .append ([ "--pager" , pager ] )
138
138
if color is not None :
139
- cli_args .append (f "--color { color } " )
139
+ cli_args .append ([ "--color" , color ] )
140
140
if verbose is True :
141
141
cli_args .append ("verbose" )
142
142
if quiet is True :
@@ -188,13 +188,13 @@ def clone(
188
188
local_flags : list [str ] = []
189
189
190
190
if ssh is not None :
191
- local_flags .append ( f "--ssh { ssh } " )
191
+ local_flags .extend ([ "--ssh" , ssh ] )
192
192
if remote_cmd is not None :
193
- local_flags .append ( f "--remotecmd { remote_cmd } " )
193
+ local_flags .extend ([ "--remotecmd" , remote_cmd ] )
194
194
if rev is not None :
195
- local_flags .append ( f "--rev { rev } " )
195
+ local_flags .extend ([ "--rev" , rev ] )
196
196
if branch is not None :
197
- local_flags .append ( f "--branch { branch } " )
197
+ local_flags .extend ([ "--branch" , branch ] )
198
198
if no_update is True :
199
199
local_flags .append ("--noupdate" )
200
200
if pull is True :
0 commit comments