[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Overlays no longer showing up on "subst" drive

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-18 21:25:20 CEST

Tobias Schäfer wrote:

> According to
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getdrivetype.asp
>
> DRIVE_NO_ROOT_DIR is also returned for
> "The root path is invalid, for example, no volume is mounted at the path."

And what is a path which is not mounted? An UNC path :)

> Since I could actually turn the overlays on and off with "Network drives" I am
> pretty sure that for some reason DRIVE_NO_ROOT_DIR was returned for s: when
> it shouldn't have. I actually turned it one and off several times because I
> couldn't believe it.
>
> Since I cannot reproduce the behaviour any more their is little we can do at
> the moment.

Sometimes GetDriveType() can return 'network' for normal drives too.
Because it checks the drive type by measuring how long some operations
need. And if the drive you've mounted was just busy, GetDriveType()
could have returned the wrong type.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Apr 18 21:25:41 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.