Can't use %REPOROOT% in Settings -> Diff Viewer -> Advanced for .myfiletype

6 views
Skip to first unread message

Alexander Ites

unread,
Feb 12, 2020, 9:21:45 AM2/12/20
to TortoiseSVN
Hello,

I would like to compare some my filetypes using my custom tools hosted in my SVN repo.
I don't want to use any absolute paths while configuring those tools in Settings -> Diff Viewer -> Advanced
as it makes sense to configure the tools in each workspace independently of the actual filesystem location of the workspace.

I tried to add
"%REPOROOT%\tools\MyCompare.bat" %base %mine
the when the first didn't work I tried the next:
"%REPOROOT+%\tools\MyCompare.bat" %base %mine
to no avail.
Also I tried
"%REPOROOT%\trunk\tools\MyCompare.bat" %base %mine
to no positive outcome while my trunk does have tools dir with MyCompare.bat inside

For each configuring attempt above I tried to open a diff for .myfiletype

I know that %REPOROOT% is suggested to be used in hooks.
But I expect some relative path approach in Settings -> Diff Viewer -> Advanced anyway.

Perhaps I'm missing something obvious and it's possible to use in the settings some svn/tsvn property containing the absolute path to the workspace.
Or it may be that there's some tsvn property overridding a diff viewer configured in the settings path mentioned above.
Or even perhaps there's a well known way to supply relative paths to the settings path mentioned above.
Any comments and suggestions are welcome.

Kind regards,
Aleksandr Ites
Reply all
Reply to author
Forward
0 new messages