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

Re: Checking out a single file

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-04-11 06:05:38 CEST

William Ferguson wrote:

>Is a single file checkout even remotely possible?
>What changes to SVN might be required to make it so?
>Is it likely to be a reasonably simple implementation of another checkout
>method in Javahl? Or is it likely to require major surgery?
>
>
No, it's just not possible. The entire Subversion library is built
around the concept of local working copies with .svn directories storing
admin info about those working copies. This isn't possible with single
files. You can "svn cat" a single file, which will give you the contents
of that file.

>Just to provide some perspective (as I may be tackling this entirely the
>wrong way), this is what I'm attempting:
>A WebDAV Servlet that can run on any WebServer (initial target is Weblogic)
>that is backed by a SubVersion repository.
>
>
So you want to write another DAV servlet using only Java? This should be
technically possible; I don't see why you would need to checkout
anything in order to serve up files over DAV as well as provide some
sort of autoversioning capability. I'd imagine, though, that you'd want
to use the Repository Access layer in order to accomplish this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 11 06:06:49 2005

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