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

Re: Is it possible to access subversion over ftp

From: Holger Stratmann <tigris_at_finch.de>
Date: Mon, 02 Mar 2009 22:39:27 +0100

Hi,
> I created a very simple subversion repo on my local machine. (no apache, just a plain repo on the file system)
>
> I now wonder if it is possible to create a similar repo on a ftp-server
Since you already know about Apache, I assume you mean: "Without any
server-side installation/software".

Well - #1: I don't know for sure.

#2: I can hardly imagine that this is possible (or feasible) for a
variety of reasons:
- If you retrieve the "latest" revision, Subversion might have to access
a LOT of revisions before that because each revision only stores the
changes compared to the previous revision. Potentially, Subversion needs
to access every single revision - and it would have to download the
entire repository, which totally defeats the purpose :-)
- Atomic commits would be quite tricky.
- Log and diff and blame would also be challenging.

Huh... I'd really thought I'd come up with more good reasons ;-)
Well, anyway: I think the first one's a real dealbreaker: When you need
some information from the repository, how can you retrieve it
(efficiently) via FTP?

Some operating systems / utilities let you mount an FTP location as a
local drive / directory. You could try it but I expect the performance
to be terrible...
> If it is possible it would be great if I could use that from computers on different locations!
And you don't have an accessible Apache server anywhere? The setup
really is rather painless :-)
Well, if you don't: Subversion repos are quite "portable": You can just
put yours on a USB stick. You can even sync it with an FTP server if you
want - just in case you spontaneously and suddenly need access to your
repository and don't have the stick with you :-).
Since the revisions themselves are immutable, you wouldn't need to
transfer a lot of data - but of course, you'd have to remember doing it.

That's the best I can come up with at the moment - let's see if anybody
else has a great idea :-)

Holger
>
> Best regards
> Fredrik
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1258386

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-02 22:40:33 CET

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

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