@@ -243,13 +243,9 @@ export class SvnCommands {
243243 } ) ;
244244
245245 try {
246- const result = await repository . repository . commitFiles (
247- message ,
248- filePaths
249- ) ;
246+ const result = await repository . commitFiles ( message , filePaths ) ;
250247 window . showInformationMessage ( result ) ;
251248 repository . inputBox . value = "" ;
252- repository . updateModelState ( ) ;
253249 } catch ( error ) {
254250 console . error ( error ) ;
255251 window . showErrorMessage ( error ) ;
@@ -367,9 +363,8 @@ export class SvnCommands {
367363 return ;
368364 }
369365
370- const result = await repository . repository . commitFiles ( message , paths ) ;
366+ const result = await repository . commitFiles ( message , paths ) ;
371367 window . showInformationMessage ( result ) ;
372- repository . updateModelState ( ) ;
373368 } catch ( error ) {
374369 console . error ( error ) ;
375370 window . showErrorMessage ( "Unable to commit" ) ;
@@ -711,7 +706,7 @@ export class SvnCommands {
711706 } ) ;
712707
713708 await this . runByRepository ( paths , async ( repository , paths ) =>
714- repository . repository . revert ( paths )
709+ repository . revert ( paths )
715710 ) ;
716711 } catch ( error ) {
717712 console . error ( error ) ;
@@ -733,7 +728,7 @@ export class SvnCommands {
733728 @command ( "svn.patch" , { repository : true } )
734729 async patch ( repository : Repository ) {
735730 try {
736- const result = await repository . repository . patch ( ) ;
731+ const result = await repository . patch ( ) ;
737732 // send the patch results to a new tab
738733 workspace
739734 . openTextDocument ( { language : "diff" , content : result } )
@@ -774,8 +769,7 @@ export class SvnCommands {
774769 return state . resourceUri . fsPath ;
775770 } ) ;
776771
777- const result = await repository . repository . removeFiles ( paths , keepLocal ) ;
778- repository . updateModelState ( ) ;
772+ const result = await repository . removeFiles ( paths , keepLocal ) ;
779773 } catch ( error ) {
780774 console . error ( error ) ;
781775 window . showErrorMessage ( "Unable to remove files" ) ;
@@ -817,7 +811,7 @@ export class SvnCommands {
817811 @command ( "svn.log" , { repository : true } )
818812 async log ( repository : Repository ) {
819813 try {
820- const result = await repository . repository . log ( ) ;
814+ const result = await repository . log ( ) ;
821815 // send the log results to a new tab
822816 workspace . openTextDocument ( { content : result } ) . then ( doc => {
823817 window . showTextDocument ( doc ) ;
0 commit comments