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

Re: Official revision syntax for Subversion URLs

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-05 19:25:09 CEST

I would like to express my opinion regarding this thread.

I believe that the http://svn/path/to/repos@XYZ/path/to/file is both
closer to reality and hides many internal details when browsing the
repository. On my development machine, I checkin vendor tarballs. These
often contain documentation in HTML format. I set svn:mime-type to
text/html, so that when I browse the repository, the server sends the
proper Content-Type and the browser displays documents. Then, I can
follow relative links inside the documentation, and everything "just
works".

If we were to change Subversion to require a ?rev=XYZ to be tacked onto
the ends of URLs, then relative browsing will not work anymore. The
query will be required.

As for the point that the @ character is reserved in URI, this is a very
valid point. I would have liked it to be used, as the @ sign can be
pronounced "at". So, the URL http://svn/path/to/repos@XYZ can be
pronounced "h-t-t-p-colon-slash-slash-svn-path-to-repos-at-XYZ".

The last time this discussion happened on the list, I was +1 on ?rev=XYZ,
but now, I am -1. I am +1 on repos@XYZ. We will have to find an
alternative character though. The semi-colon (;) was already proposed,
and could be a good choice. One thing though, this should not be
configurable. This way, all SVN servers will answer to the same syntax.

Another point, what about the command-line client ? Should the merge and
diff commands be changed so that they would accept the new syntax ? This
would mean that
svn merge http://svn/path/to/repos/path/to/branch@123
http://svn/path/to/repos/path/to/branch@HEAD

would become:
svn merge http://svn/path/to/repos@123/path/to/branch
http://svn/path/to/repos@HEAD/path/to/branch

This is just something else to think about.

Hope that helps !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 5 19:25:57 2003

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.