File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ export interface ISvnPathChange {
6262 kind : SvnKindType ;
6363 item : Status ;
6464 repo : Uri ;
65+ localPath : Uri ;
6566}
6667
6768export interface ISvnListItem {
Original file line number Diff line number Diff line change @@ -51,14 +51,18 @@ export class BranchChangesProvider
5151 const iconPath = getIconObject ( iconName ) ;
5252
5353 return {
54- label : element . newPath . toString ( ) ,
54+ label : element . localPath . fsPath ,
5555 command : {
5656 command : "svn.branchchanges.openDiff" ,
5757 title : "Open diff" ,
5858 arguments : [ element ]
5959 } ,
6060 iconPath,
61- tooltip : `${ element . oldPath } @r${ element . oldRevision } → ${ element . newPath } @r${ element . newRevision } `
61+ tooltip : `${ element . oldPath . fsPath . replace ( element . repo . fsPath , "" ) } @r${
62+ element . oldRevision
63+ } → ${ element . newPath . fsPath . replace ( element . repo . fsPath , "" ) } @r${
64+ element . newRevision
65+ } `
6266 } ;
6367 }
6468
Original file line number Diff line number Diff line change @@ -271,7 +271,8 @@ export class Repository {
271271 item : path . item ,
272272 props : path . props ,
273273 kind : path . kind ,
274- repo : Uri . parse ( this . info . repository . root )
274+ repo : Uri . parse ( this . info . repository . root ) ,
275+ localPath : Uri . parse ( path . _ . replace ( copyFromUrl , "" ) )
275276 } ) ;
276277 }
277278
You can’t perform that action at this time.
0 commit comments