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

file:// -> svn://

From: Féliciano Matias <feliciano.matias_at_free.fr>
Date: 2002-07-30 13:08:55 CEST

Excuse my poor english.

I have already posted a mail here about this.

I don't like the use of file:// to reach a local repository.

Everybody know that "file://`pwd`/dir' is equivalent to 'dir'. This is
not true with subversion :
  $ svn co file://`pwd`/repos somewhere # work
  $ svn co repos somewhere # doesn't work
  $ svnadmin dump repos > /dev/null # work
  $ svnadmin dump file://`pwd`/repos > /dev/null # doesn't word

Another strange point :
  $ svn co file:///var/svn/repos/proj_A/dir/ . # work
but the directory /var/svn/repos/proj_A/dir/ does not existe. this is in
violation with the convention of "file://". If i put
file:///var/svn/repos/proj_A/dir/ in a browser, this never work.

So :
- don't use "file://" when it does not mean "file://"
- create "svn://" for use by svn and perhaps for use with a browser
  (with a svn extension). The form of "svn://" is :
    svn://user:pass_at_host/path/file

user, pass, and host are only for extensions actually. Perhaps when
Subversion have this own server or when it use its own ACL system.

If this make sense, the alpha stage of Subversion is a good opportunity.
After the release 1.0, this should be too late.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 30 13:10:59 2002

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

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