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

RE: [TSVN] Re: Partial checkout

From: Daniel F Garcia <dgarcia_at_kobold.com.au>
Date: 2005-01-14 10:14:36 CET

Another idea I had was to create "shadow files" as NTFS reparse point in a
manner that is similar to the Microsoft Remote Storage Service (RSS).

With RSS, when a file gets archived to a medium such as DLT library, a
"shadow file" (not sure if this is the right term) gets created in its
place. The file has the same filename as the previous file and is like a
shortcut to the file on the DLT library. When the user access the file (eg
file-open in an application) the file gets un-archived. The "shadow file" is
implemented as an NTFS reparse point and from the users perspective looks
like the original file, except that explorer renders the icon slightly
differently.

What if we allowed a partial checkout, but the files and folders that were
not checked out were created in the working copy as "shadow files". When the
user accesses those file, they are checked out as needed.

A couple of interesting things arise with this implementation. One thing you
could do is checkout the top level of a large folder structure and check out
everything else dynamically. This could be handy if the information you
require is sparsely located in the folder structure.

Another think you could do (but I'm not sure why), is checkout the top
level, then initiate a compile. The compilation process would initiate a
bunch of checkouts based on the files that were required.

I understand that RSS has an API that you could plug into to do this. You
could also do your own implementation using reparse point. I guess the
biggest downside is that it is very platform specific. Ie NTFS and Windows.
Give that Windows is the target platform for TortoiseSvn I can't see that
being too much of an issue, but I'm sure there are some people who would
love to port tortoise to other platforms, in doing so you would have to
unhook a lot of platform specific stuff anyway.

Daniel.

-----Original Message-----
From: Jens Scheidtmann [mailto:Jens.Scheidtmann@bayerbbs.com]
Sent: Friday, 14 January 2005 6:23 PM
To: dev@tortoisesvn.tigris.org
Subject: [TSVN] Re: Partial checkout

"Daniel F Garcia" <dgarcia@kobold.com.au> writes:

> All my projects have this sort of folder structure:
[...]
> Could the Tortoise client allow a partial checkout ? I have
> constructed a screen mockup to show how the HMI would work here. I
> imagine you could also allow to users to specify filters suchs as:

Use the "check out only top folder" check box, then checkout what you need
into this directory. Write batch files to do it automatically.

[Check out only ...]
>
> * All files with size less than 5mb
> * All files except those starting with the letter "Q"
> * All excel files

This would have to be possible with the commandline client.
AFAIK it's not.

Jens

--
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jan 14 10:15:48 2005

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