[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: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-04-18 21:14:19 CEST

On Tuesday 18 April 2006 18:32, Stefan Küng wrote:
> Tobias Schäfer wrote:
> > if (((drivetype == DRIVE_REMOTE)||(drivetype == DRIVE_NO_ROOT_DIR))
> > &&(!IsRemote()))
> > return FALSE;
> >
> > The subst-ed drive is not of the type DRIVE_REMOTE and it might be
> > possible that windows reports DRIVE_NO_ROOT_DIR when the subst-ed drive
> > is not initialised properly. In this case the overlays are influenced by
> > the check mark "Network drives". This doesn't look correct.
>
> DRIVE_NO_ROOT_DIR is only returned for UNC paths like
> \\computer\sharename\workingcopy. So that shouldn't be a problem.

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."

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.

Tobias

---------------------------------------------------------------------
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:15:42 2006

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