| |> I am trying to set up my subversion client(s) so that I 
| can get any 
| |> diffs open in a proper diff mode, in an existing gvim 
| |session, in a new tab... 
| | 
| |     Did you try (untested by me) 
| | 
| |--remote-tab +"diffsplit %2" %1 
| | 
| |(Will the %2 need any special escaping inside the quotes?  
| |What if %2 has spaces in the file name (ugh)?) 

For the record, thanks to Benji Fisher, who got me on the right track. I was
able to set up a gvimdiff.bat file that gets called with two (possibly
quoted) files as arguments, and then it executes this:

gvim.exe --remote-tab +"diffsplit %~2" "%~1"

Seems to work fine with spaces in the filenames. The tilde in the argument
specification is a Windows NT command extensions thing, that works on WinNT,
Win2k + XP (And I assume Vista) - it un-quotes the file arguments.

Thanks all!

/Hugo


Reply via email to