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

RE: Re: What does TSVNCache do anyway?...

From: Peter Yamamoto <yamamotop_at_page44.com>
Date: 2006-05-26 20:17:49 CEST

BTW here is a workaround for the WC in the root (meaning you have a .svn
folder in C:\).

First, another note... By taking a nightly build (TortoiseSVN 1.4.0,
Build 6526 - 32 Bit -dev) instead of the current official release, I'm
pretty sure that some of the TSVNCache churning (eg into C:\documents
and settings for example) went down (even when in root).

Regardless, for those who want to try and get help but your environment
forces you to have a wc in root, here is the workaround. Create the wc
in a subfolder, then junction the wc "root" level folders to C:\. Then
make Tortoise only include the subfolder.


C:\(some more root level project folders)


C:\svnwc\(some more root level project folders)

The problem now (for me) is that this inherited project won't build
under c:\svnwc... There are too many hard coded/idiotsyncrancies with
the project assuming to be in C:\ so to get the project to build and

Projectjunction.bat C:\svnwc

Which is a shortcut for using a program like sysinternal's (free)
"junction" (http://www.sysinternals.com/Utilities/Junction.html) to make
junctions (links) of the project folders in C:\ (but not the root .svn
folder). (eg junction -s c:\common c:\svnwc\common, junction -s
c:\project c:\svnwc\project, etc).

Now the dependency is that none of your own tools have any issues with
junctions (which would be surprising but not impossible). But the main
point is that from the point of view of svn/tortoisesvn, you are now
working in a "blessed" configuration and can hopefully not get dismissed
out of hand when an issue arises.

Note however that this means that the tortoise icons only show up in the
C:\svnwc folder version so you have to get used to switching focus when
wanting to take advantage of the icons but in general that's not a big
deal and now you're in a "blessed" configuration.

Note however that if you reverse the direction of the junctions (but
only have the root .svn folder in the subfolder not in C:\ you get the
best of both worlds but it's kind of backwards of what you might think
and the oddity of handling the .svn folder makes it cumbersome and error
prone (if for example you are swapping in/out multiple workspaces
depending on the workspace (eg alternating work both in a trunk and
branch workspace)...

And more importantly I believe you're back in a non-blessed
configuration because indeed it does seem that TortoiseSVN has some
issues with junctions (eg in this "reversed" configuration you can see
(eg with sysinternal's filemon.exe) tortoise first trying to access the
subfolder-ed folder (since again I exclude * and include the subfolder
so that's where the work is going on) getting a FAILURE status then you
see it next access the non-junctioned path and succeeding. So although
it works, the failures can probably add up in time (with a workspace of
a couple hundred thousand files).

Unless you really fall into this category and unless you understand
somewhat the issues (eg read up on junctions and the issues) then this
probably isn't something you want to pursue.

-----Original Message-----
From: Donald H Locker [mailto:donald.locker@ptmelec.com]
Sent: Friday, May 26, 2006 9:48 AM
To: users@tortoisesvn.tigris.org
Subject: Re: What does TSVNCache do anyway?...

Thank you. I had a panic for a moment, then realised that I did have
the one level of directory in between. Then realised that I should
really verify my understanding.

Thanks again.

Andy Levy wrote:
> On 5/26/06, Donald H Locker <donald.locker@ptmelec.com> wrote:
>> I'd like to be sure I understand what you mean by not "keeping your
>> working copy in the drive root."
> IIRC, Peter's WC root is located at c:\
> As in "svn co <URL> c:\"
> I believe he said it was a required by the build process of the
> application he inherited.
>> I have working copy directories "Tester4.09" and "TestStuff" which
>> are located at my drive root. Each has its own repository assigned
to it.
>> If I understand correctly, this arrangement is OK and will not cause
>> the TSVNCache to walk any directory other than "Tester4.09" and
>> "TestStuff", correct?
> You should be fine with this setup.

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri May 26 20:17:57 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.