Stefan -- thanks for looking into this.  I was able to confirm everything 
thing you wrote about for One Drive is also true for Work Folders.  It 
appears Microsoft added a feature to Work Folders we have no use for 
(on-demand) and in the process broke something we use daily . . . painful.  

In case someone else comes across this, I thought I'd share some options we 
looked into:

* Use an alternative file explorer to Windows File Explorer: There are 
several options available (just Google 'Alternative to File Explorer'). 
 For us, Explorer++ was the simplest solution that had features we could 
use.  It does show the TSVN context menu when you right click on a file / 
directory in Work Folders, but as Stefan mentions, the icon overlays will 
not appear.

* Use an alternative SVN GUI to TortoiseSVN: We were not interested in this 
path as TSVN has everything we need, but there are others out there that 
are not integrated into File Explorer and will most likely work.  As 
mentioned previously, command line SVN works.  I'm guessing SVN tools that 
are integrated into various development environments will also work.

* Use an alternative to Work Folders to sync local client files to a backup 
server: In the end, this is most likely the path we are going to take.  We 
are currently focusing on FreeFileSync.  Not as integrated or all the 
features as Windows Work Folders, but appears to give us the functionality 
we need and is compatible with TSVN.

On Friday, May 18, 2018 at 4:12:12 PM UTC-4, Stefan wrote:
>
> I found out why it doesn't work (sorry, but this is now very technical):
>
> The on-demand files in Onedrive are implemented using reparse points. 
> That's also why NTFS is required and Onedrive won't work with FAT32 or 
> other file systems.
> Problem is, most applications don't work properly with reparse points, so 
> Onedrive also implements a file system filter which makes sure that 
> applications won't even see the reparse points but only normal files. But 
> here's the big problem: the file system filter is deactivated for the 
> explorer process!
> You can test this yourself if you open e.g. notepad and open the file-open 
> dialog: there you can right-click and the TSVN menu shows up properly. Only 
> in Explorer the menu doesn't show.
> And since the file system filter is a driver, I can't work around this.
>
> The only way to get the context menu working for Onedrive folders is to 
> actually handle the reparse points in the svn library. While trying to 
> figure out the problem I also checked the svn library code and to make 
> everything work properly with reparse points is not quite easy. Especially 
> since to test this, you have to use a shell extension - as I said all other 
> apps/processes 'see' the real files due to the file system filter.
> For example, the TSVN dialogs all work properly if you start them 
> manually, e.g.
> TortoiseProc.exe /command:repostatus /path:"d:\Onedrive\svnproject"
> will work just fine.
>
> One more thing: while I could get the context menu to work eventually, the 
> overlay icons would never work: Onedrive has it's own view implemented in 
> Explorer, and that view does not show overlay icons from other shell 
> extensions. So those will never work. 
>
> Sorry for the bad news.
>
> Stefan
>

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/4256e801-9f70-477f-9b86-1097708d5d10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to